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

Commit 6b5d4723 authored by Miao Wang's avatar Miao Wang Committed by Android (Google) Code Review
Browse files

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

Merge "Enable shader cache for applications that shared UID with multiple packages too" into nyc-mr1-dev
parents 18fb24c5 1e6d77e8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -5010,9 +5010,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) {
                ThreadedRenderer.setupDiskCache(cacheDir);
                RenderScriptCacheDir.setupDiskCache(cacheDir);
            }