2
0
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:
Sebastian 2020-03-05 14:05:27 +01:00 committed by Sebastian Kaspari
parent 3be3571dbd
commit 89a260ecd9

View File

@ -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)
}
}