Merge "Reduce LoadedApkAssets LRU cache size." into pi-dev

am: 31ec39297c

Change-Id: I7a8163ca451f1d930746233dfb2b6add18dc5bb3
This commit is contained in:
Richard Uhler
2018-05-22 04:18:05 -07:00
committed by android-build-merger

View File

@@ -124,7 +124,7 @@ public class ResourcesManager {
/**
* The ApkAssets we are caching and intend to hold strong references to.
*/
private final LruCache<ApkKey, ApkAssets> mLoadedApkAssets = new LruCache<>(15);
private final LruCache<ApkKey, ApkAssets> mLoadedApkAssets = new LruCache<>(3);
/**
* The ApkAssets that are being referenced in the wild that we can reuse, even if they aren't