Bug 1396303 - Fix typo in variable declaration that breaks the download helper app dialogue. draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Sun, 03 Sep 2017 21:12:40 +0200
changeset 658328 8826b1b38c8640954f0d584752f9b2be96d126e9
parent 658031 58e1ab7ca2d6c401b2c9ef13bef5756533e0d5f3
child 729603 75bd781612bac6bfe3c0b80215bd4950020020bb
push id77717
push usermozilla@buttercookie.de
push dateSun, 03 Sep 2017 19:59:55 +0000
bugs1396303
milestone57.0a1
Bug 1396303 - Fix typo in variable declaration that breaks the download helper app dialogue. MozReview-Commit-ID: Kg24dBizlRf
mobile/android/components/HelperAppDialog.js
--- a/mobile/android/components/HelperAppDialog.js
+++ b/mobile/android/components/HelperAppDialog.js
@@ -235,17 +235,17 @@ HelperAppLauncherDialog.prototype = {
     });
   },
 
   /**
    * In the system app chooser, the order of the "Always" and "Just once" buttons has been swapped
    * around starting from Lollipop.
    */
   _useNewButtonOrder: function() {
-    let _useNewButtonOrder = true;
+    let useNewButtonOrder = true;
     let jenv = null;
 
     try {
       jenv = JNI.GetForThread();
       let jAppConstants = JNI.LoadClass(jenv, "org.mozilla.gecko.AppConstants$Versions", {
         static_fields: [
           { name: "feature21Plus", sig: "Z" }
         ],