Index: mobile/android/chrome/content/browser.js |
diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js |
index 1f1fb6f45064cf9327af29444a31a69f0a49787c..06a572246d3b438d464d9816fab583beb26c24f8 100644 |
--- a/mobile/android/chrome/content/browser.js |
+++ b/mobile/android/chrome/content/browser.js |
@@ -6080,6 +6080,11 @@ var XPInstallObserver = { |
let notificationName, buttons, message; |
let strings = Strings.browser; |
let enabled = true; |
+ |
+ // We force xpinstall.enabled to false here because of |
Felix Dahlke
2015/05/22 15:03:31
s/force/always set/?
René Jeschke
2015/05/22 15:49:12
Done.
|
+ // https://issues.adblockplus.org/ticket/2561 |
+ Services.prefs.setBoolPref("xpinstall.enabled", false); |
+ |
try { |
enabled = Services.prefs.getBoolPref("xpinstall.enabled"); |
} |
@@ -6087,7 +6092,10 @@ var XPInstallObserver = { |
if (!enabled) { |
notificationName = "xpinstall-disabled"; |
- if (Services.prefs.prefIsLocked("xpinstall.enabled")) { |
+ // We force xpinstall.enabled to be a locked pref here because of |
Felix Dahlke
2015/05/22 15:03:31
s/force/always consider/?
René Jeschke
2015/05/22 15:49:12
Done.
|
+ // https://issues.adblockplus.org/ticket/2561 |
+ // if (Services.prefs.prefIsLocked("xpinstall.enabled")) { |
+ if (true) { |
message = strings.GetStringFromName("xpinstallDisabledMessageLocked"); |
buttons = []; |
} else { |