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

Commit 436f4def authored by Song Chun Fan's avatar Song Chun Fan Committed by Automerger Merge Worker
Browse files

Merge "Remove UPDATED_SYSTEM_APP from updated system apps no longer exist"...

Merge "Remove UPDATED_SYSTEM_APP from updated system apps no longer exist" into udc-dev am: 4c2ea9c7 am: a6e73421

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22519978



Change-Id: I9662240df362578544fb1fe8bbf41e7274eec431
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 5e769de2 a6e73421
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3604,6 +3604,11 @@ final class InstallPackageHelper {
                // remove the package from the system and re-scan it without any
                // special privileges
                mRemovePackageHelper.removePackage(pkg, true);
                PackageSetting ps = mPm.mSettings.getPackageLPr(packageName);
                if (ps != null) {
                    ps.getPkgState().setUpdatedSystemApp(false);
                }

                try {
                    final File codePath = new File(pkg.getPath());
                    synchronized (mPm.mInstallLock) {