2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00

For #1679: Pause media playback when backgrounded

This commit is contained in:
Sawyer Blatz 2019-05-30 09:58:50 -07:00 committed by Emily Kager
parent 0054e017ea
commit 7fff475fd8

View File

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