summaryrefslogtreecommitdiff
path: root/mobile
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
parent46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e (diff)
downloaduxp-c88c161875beca091fe183a3b04480422b3d3885.tar.gz
Remove unnecessary front-end features and pres when not building EME.
Tag #26.
Diffstat (limited to 'mobile')
-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 2a64297c4b..9a28bd7160 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);