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:
parent
0054e017ea
commit
7fff475fd8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user