[tbb-commits] [torbutton/master] Bug 27701 - Don't show App Blocker on Android
gk at torproject.org
gk at torproject.org
Tue Nov 20 13:06:20 UTC 2018
commit 82729ba49f026a03966adb75b6b7737d71579967
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date: Mon Nov 19 17:12:03 2018 +0000
Bug 27701 - Don't show App Blocker on Android
---
src/modules/default-prefs.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/modules/default-prefs.js b/src/modules/default-prefs.js
index d4c948f8..6a2bd86c 100644
--- a/src/modules/default-prefs.js
+++ b/src/modules/default-prefs.js
@@ -21,6 +21,12 @@ function ensureDefaultPrefs () {
Services.console.logStringMessage(
`Preference ${aPrefName} with value ${aValue} has an invalid value type`);
}
+
+ // Disable the External App Blocker on Android
+ if ((aPrefName === "extensions.torbutton.launch_warning") &&
+ (Services.appinfo.OS === "Android")) {
+ defaultPrefBranch.setBoolPref(aPrefName, false);
+ }
}
};
Services.scriptloader.loadSubScript(kDefaultPreferences, context);
More information about the tbb-commits
mailing list