Evict cached bitmaps when closing the app list
This commit is contained in:
@@ -30,6 +30,10 @@ public class CachedAppAssetLoader {
|
||||
this.diskLoader = diskLoader;
|
||||
}
|
||||
|
||||
public void freeCacheMemory() {
|
||||
memoryLoader.clearCache();
|
||||
}
|
||||
|
||||
private Runnable createLoaderRunnable(final LoaderTuple tuple, final Object context, final LoadListener listener) {
|
||||
return new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user