summaryrefslogtreecommitdiffstats
path: root/mobile/android
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-12-13 17:47:44 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-24 10:30:41 +0100
commitc88c161875beca091fe183a3b04480422b3d3885 (patch)
treea65fa8c0a8dddab16d65739b382a7632b73e813d /mobile/android
parent46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e (diff)
downloadUXP-c88c161875beca091fe183a3b04480422b3d3885.tar
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.gz
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.lz
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.xz
UXP-c88c161875beca091fe183a3b04480422b3d3885.zip
Remove unnecessary front-end features and pres when not building EME.
Tag #26.
Diffstat (limited to 'mobile/android')
-rw-r--r--mobile/android/app/mobile.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js
index 2a64297c4..9a28bd716 100644
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -627,6 +627,12 @@ pref("media.mediasource.enabled", true);
pref("media.mediadrm-widevinecdm.visible", true);
+#ifdef MOZ_EME
+// Enable EME(Encrypted media extensions?)
+pref("media.eme.enabled", false);
+pref("media.eme.apiVisible", false);
+#endif
+
// optimize images memory usage
pref("image.downscale-during-decode.enabled", true);