summaryrefslogtreecommitdiffstats
path: root/mobile/android/app
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:32:13 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 13:07:29 -0500
commit41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce (patch)
treeab1812ebad2c2f5eb46010b8af880ad022e054db /mobile/android/app
parente07abdd2822f11b1cc10705ee47734b848acb0ce (diff)
downloadUXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.gz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.lz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.xz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.zip
Make safebrowsing optional at build time - Part 5: preferences
Diffstat (limited to 'mobile/android/app')
-rw-r--r--mobile/android/app/mobile.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js
index c0eba6596..ef4764d88 100644
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -636,9 +636,11 @@ pref("media.eme.apiVisible", false);
// optimize images memory usage
pref("image.downscale-during-decode.enabled", true);
+#ifdef MOZ_SAFE_BROWSING
pref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.id", @MOZ_APP_UA_NAME@);
+#endif
// True if this is the first time we are showing about:firstrun
pref("browser.firstrun.show.uidiscovery", true);