Commit 82729ba4 authored by Matthew Finkel's avatar Matthew Finkel Committed by Georg Koppen
Browse files

Bug 27701 - Don't show App Blocker on Android

parent 50d2baa2
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment