Bug 1007770 - use the app (i.e. "rocket ship") icon in the update notification; r=blassey, ibarlow
authorMyk Melez <myk@mozilla.org>
Thu, 22 May 2014 17:35:21 -0700
changeset 184509 6c437fc1b14f421d36f0da6c6a8bfd38fbbb70d3
parent 184508 d18ebc644b896ae8a75ed63c11055223820988a7
child 184510 639758e9e5ab35430ba38dd6ddcc95d5b1a95e9f
push id43872
push usermyk@mozilla.com
push dateFri, 23 May 2014 00:35:51 +0000
treeherdermozilla-inbound@6c437fc1b14f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, ibarlow
bugs1007770
milestone32.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 1007770 - use the app (i.e. "rocket ship") icon in the update notification; r=blassey, ibarlow
mobile/android/modules/WebappManager.jsm
--- a/mobile/android/modules/WebappManager.jsm
+++ b/mobile/android/modules/WebappManager.jsm
@@ -303,17 +303,17 @@ this.WebappManager = {
         return;
       }
 
       let names = [manifestUrlToApp[url].name for (url of outdatedApps)].join(", ");
       let accepted = yield this._notify({
         title: PluralForm.get(outdatedApps.length, Strings.GetStringFromName("downloadUpdateTitle")).
                replace("#1", outdatedApps.length),
         message: Strings.formatStringFromName("downloadUpdateMessage", [names], 1),
-        icon: "drawable://alert_download",
+        icon: "drawable://alert_app",
       }).dismissed;
 
       if (accepted) {
         yield this._updateApks([manifestUrlToApp[url] for (url of outdatedApps)]);
       }
     }
     // There isn't a catch block because we want the error to propagate through
     // the promise chain, so callers can receive it and choose to respond to it.