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

Commit 177e1594 authored by Shuo Gao's avatar Shuo Gao Committed by android-build-merger
Browse files

Merge "Enable shader cache for applications that shared UID with multiple packages too"

am: f3edaf6a

* commit 'f3edaf6a':
  Enable shader cache for applications that shared UID with multiple packages too
parents 9ab424a9 f3edaf6a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4390,9 +4390,7 @@ public final class ActivityThread {
            int uid = Process.myUid();
            String[] packages = getPackageManager().getPackagesForUid(uid);

            // If there are several packages in this application we won't
            // initialize the graphics disk caches
            if (packages != null && packages.length == 1) {
            if (packages != null) {
                HardwareRenderer.setupDiskCache(cacheDir);
                RenderScriptCacheDir.setupDiskCache(cacheDir);
            }