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

Commit ee057752 authored by David Brazdil's avatar David Brazdil
Browse files

Hide 'Optimizing apps' dialog if not M->N upgrade

Recent changes reduced the amount of time spent optimizing apps at
post-OTA boot. Instead of briefly showing the 'Optimizing apps'
dialog, we hide it completely.

The dialog is still shown for OTAs from a pre-N version of Android
since they can take a non-negligible amount of time (still much less
than in M).

Bug: 27350503
Change-Id: I5f6dae0c69799e1fc522f36453d2671b333bef0e
parent 13532bdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7187,7 +7187,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                        numberOfPackagesToDexopt + ": " + pkg.packageName);
            }
            if (!isFirstBoot()) {
            if (mIsPreNUpgrade) {
                try {
                    ActivityManagerNative.getDefault().showBootMessage(
                            mContext.getResources().getString(R.string.android_upgrading_apk,