diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 6694533397b1..b02955ce0d8b 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -786,7 +786,13 @@ pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com // Token server used by Firefox Account-authenticated Sync. pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5"); +#ifdef NIGHTLY_BUILD +// Use new audio focus management, "media.audioFocus.management". +pref("dom.audiochannel.audioCompeting", false); +#else pref("dom.audiochannel.audioCompeting", true); +#endif + pref("dom.audiochannel.mediaControl", true); pref("media.block-autoplay-until-in-foreground", false); diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index af741b2f3c4c..6bf3028f7a4b 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -6131,7 +6131,11 @@ - name: media.audioFocus.management type: bool +#if defined(MOZ_WIDGET_ANDROID) && defined(NIGHTLY_BUILD) + value: true +#else value: false +#endif mirror: always - name: media.hardwaremediakeys.enabled