Evict cached bitmaps when closing the app list

This commit is contained in:
Cameron Gutman
2015-02-27 15:13:43 -05:00
parent 3d398ef6dd
commit 867b703644
3 changed files with 10 additions and 0 deletions
@@ -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