Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce72108f authored by Richard Uhler's avatar Richard Uhler Committed by android-build-merger
Browse files

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

am: 31ec3929

Change-Id: I7a8163ca451f1d930746233dfb2b6add18dc5bb3
parents 53fa1d85 31ec3929
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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