mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Use new MemoryConsumer.onTrimMemory() API.
This commit is contained in:
parent
3be3571dbd
commit
89a260ecd9
@ -220,8 +220,10 @@ open class FenixApplication : LocaleAwareApplication() {
|
||||
|
||||
override fun onTrimMemory(level: Int) {
|
||||
super.onTrimMemory(level)
|
||||
|
||||
runOnlyInMainProcess {
|
||||
components.core.sessionManager.onLowMemory()
|
||||
components.core.icons.onTrimMemory(level)
|
||||
components.core.sessionManager.onTrimMemory(level)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user