mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-19 23:14:23 +00:00
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