Merge "Enable shader cache for applications that shared UID with multiple packages too" into nyc-dev-plus-aosp
This commit is contained in:
@@ -4936,9 +4936,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user