[fenix] For https://github.com/mozilla-mobile/fenix/issues/1679: Pause media playback when backgrounded

pull/600/head
Sawyer Blatz 5 years ago committed by Emily Kager
parent 1e70a65502
commit 1b6f0f5b1a

@ -76,7 +76,8 @@ class Core(private val context: Context) {
trackingProtectionPolicy = createTrackingProtectionPolicy(),
historyTrackingDelegate = HistoryDelegate(historyStorage),
preferredColorScheme = getPreferredColorScheme(),
automaticFontSizeAdjustment = Settings.getInstance(context).shouldUseAutoSize
automaticFontSizeAdjustment = Settings.getInstance(context).shouldUseAutoSize,
suspendMediaWhenInactive = true
)
GeckoEngine(context, defaultSettings, runtime)

Loading…
Cancel
Save