From cee913be919e89c2ce4dc30ac1dae2841549fdd6 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 29 May 2019 15:59:36 -0400 Subject: Show the update UI instantly instead of after 10 minutes of inactivity --- toolkit/mozapps/update/nsUpdateService.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'toolkit') diff --git a/toolkit/mozapps/update/nsUpdateService.js b/toolkit/mozapps/update/nsUpdateService.js index 64eb995a2..dca0a007e 100644 --- a/toolkit/mozapps/update/nsUpdateService.js +++ b/toolkit/mozapps/update/nsUpdateService.js @@ -3498,8 +3498,8 @@ UpdatePrompt.prototype = { return; } - this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "updatesavailable", update); + this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, + UPDATE_WINDOW_NAME, "updatesavailable", update); }, /** @@ -3515,13 +3515,8 @@ UpdatePrompt.prototype = { if (this._getAltUpdateWindow()) return; - if (background) { - this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "finishedBackground", update); - } else { - this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "finishedBackground", update); - } + this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, + UPDATE_WINDOW_NAME, "finishedBackground", update); }, /** -- cgit v1.2.3