Loading services/core/java/com/android/server/pm/PackageManagerService.java +11 −1 Original line number Diff line number Diff line Loading @@ -539,6 +539,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 @@ -7176,7 +7179,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 @@ -7270,6 +7277,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 @@ -539,6 +539,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 @@ -7176,7 +7179,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 @@ -7270,6 +7277,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