Loading services/core/java/com/android/server/pm/PackageManagerService.java +11 −1 Original line number Diff line number Diff line Loading @@ -538,6 +538,9 @@ public class PackageManagerService extends IPackageManager.Stub { final boolean mIsPreNUpgrade; final boolean mIsPreNMR1Upgrade; @GuardedBy("mPackages") private boolean mDexOptDialogShown; /** The location for ASEC container files on internal storage. */ final String mAsecInternalPath; Loading Loading @@ -7150,7 +7153,11 @@ public class PackageManagerService extends IPackageManager.Stub { } } if (doTrim) { if (!isFirstBoot()) { final boolean dexOptDialogShown; synchronized (mPackages) { dexOptDialogShown = mDexOptDialogShown; } if (!isFirstBoot() && dexOptDialogShown) { try { ActivityManagerNative.getDefault().showBootMessage( mContext.getResources().getString( Loading Loading @@ -7244,6 +7251,9 @@ public class PackageManagerService extends IPackageManager.Stub { numberOfPackagesVisited, numberOfPackagesToDexopt), true); } catch (RemoteException e) { } synchronized (mPackages) { mDexOptDialogShown = true; } } // If the OTA updates a system app which was previously preopted to a non-preopted state Loading Loading
services/core/java/com/android/server/pm/PackageManagerService.java +11 −1 Original line number Diff line number Diff line Loading @@ -538,6 +538,9 @@ public class PackageManagerService extends IPackageManager.Stub { final boolean mIsPreNUpgrade; final boolean mIsPreNMR1Upgrade; @GuardedBy("mPackages") private boolean mDexOptDialogShown; /** The location for ASEC container files on internal storage. */ final String mAsecInternalPath; Loading Loading @@ -7150,7 +7153,11 @@ public class PackageManagerService extends IPackageManager.Stub { } } if (doTrim) { if (!isFirstBoot()) { final boolean dexOptDialogShown; synchronized (mPackages) { dexOptDialogShown = mDexOptDialogShown; } if (!isFirstBoot() && dexOptDialogShown) { try { ActivityManagerNative.getDefault().showBootMessage( mContext.getResources().getString( Loading Loading @@ -7244,6 +7251,9 @@ public class PackageManagerService extends IPackageManager.Stub { numberOfPackagesVisited, numberOfPackagesToDexopt), true); } catch (RemoteException e) { } synchronized (mPackages) { mDexOptDialogShown = true; } } // If the OTA updates a system app which was previously preopted to a non-preopted state Loading