Merge "Remove UPDATED_SYSTEM_APP from updated system apps no longer exist" into udc-dev am: 4c2ea9c7f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22519978 Change-Id: I46253c07de80b86a38fa464433862dd62d9ce84e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3588,6 +3588,11 @@ final class InstallPackageHelper {
|
|||||||
// remove the package from the system and re-scan it without any
|
// remove the package from the system and re-scan it without any
|
||||||
// special privileges
|
// special privileges
|
||||||
mRemovePackageHelper.removePackage(pkg, true);
|
mRemovePackageHelper.removePackage(pkg, true);
|
||||||
|
PackageSetting ps = mPm.mSettings.getPackageLPr(packageName);
|
||||||
|
if (ps != null) {
|
||||||
|
ps.getPkgState().setUpdatedSystemApp(false);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final File codePath = new File(pkg.getPath());
|
final File codePath = new File(pkg.getPath());
|
||||||
synchronized (mPm.mInstallLock) {
|
synchronized (mPm.mInstallLock) {
|
||||||
|
|||||||
Reference in New Issue
Block a user