Bug 1515966 - Download notification click action now opens about:downloads. r=sdaswani
☠☠ backed out by fa852dc84672 ☠ ☠
authorVlad Baicu <vlad.baicu@softvision.ro>
Thu, 27 Dec 2018 10:50:18 +0000
changeset 509119 3c54ad1e420e75dd4b2c5e6671ad9d04cd0e8717
parent 509118 5f2cdabc126a00b893bc871184440ae58248556c
child 509120 fa852dc8467264e74881f1c4d1610340349e7c26
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssdaswani
bugs1515966
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1515966 - Download notification click action now opens about:downloads. r=sdaswani Differential Revision: https://phabricator.services.mozilla.com/D15215
mobile/android/modules/DownloadNotifications.jsm
--- a/mobile/android/modules/DownloadNotifications.jsm
+++ b/mobile/android/modules/DownloadNotifications.jsm
@@ -155,17 +155,17 @@ var DownloadNotifications = {
         // about:downloads if the launch failed.
         let file = new FileUtils.File(download.target.path);
         try {
           file.launch();
         } catch (ex) {
           this.showInAboutDownloads(download);
         }
       } else {
-        ConfirmCancelPrompt.show(download);
+        this.showInAboutDownloads(download);
       }
     }).catch(Cu.reportError);
   },
 
   onButtonClick: function(button, cookie) {
     this._findDownloadForCookie(cookie).then((download) => {
       if (button === kButtons.PAUSE.buttonId) {
         download.cancel().catch(Cu.reportError);