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

Commit 4215017c authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Use shared app gid for dalvik cache" into jb-mr1-dev

parents d6991106 6a9b2cb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3535,8 +3535,8 @@ public class PackageManagerService extends IPackageManager.Stub {
                        return DEX_OPT_DEFERRED;
                    } else {
                        Log.i(TAG, "Running dexopt on: " + pkg.applicationInfo.packageName);
                        ret = mInstaller.dexopt(path, pkg.applicationInfo.uid,
                                !isForwardLocked(pkg));
                        final int sharedGid = UserHandle.getSharedAppGid(pkg.applicationInfo.uid);
                        ret = mInstaller.dexopt(path, sharedGid, !isForwardLocked(pkg));
                        pkg.mDidDexOpt = true;
                        performed = true;
                    }