onTrimMemory

open override fun onTrimMemory(level: Int)

Called by the OS as memory pressure rises or falls; updates the critical flag accordingly.