Loading services/core/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -14999,7 +14999,7 @@ public class ActivityManagerService extends IActivityManager.Stub mBatteryStatsService.removeUid(uid); if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { mAppOpsService.resetAllModes(UserHandle.getUserId(uid), intent.getData().getSchemeSpecificPart()); intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME)); } else { mAppOpsService.uidRemoved(uid); } services/core/java/com/android/server/pm/PackageManagerService.java +7 −1 Original line number Diff line number Diff line Loading @@ -18821,8 +18821,14 @@ public class PackageManagerService extends IPackageManager.Stub } } if (removedAppId >= 0) { // If a system app's updates are uninstalled the UID is not actually removed. Some // services need to know the package name affected. if (extras.getBoolean(Intent.EXTRA_REPLACING, false)) { extras.putString(Intent.EXTRA_PACKAGE_NAME, removedPackage); } packageSender.sendPackageBroadcast(Intent.ACTION_UID_REMOVED, removedPackage, extras, Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND, null, extras, Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND, null, null, broadcastUsers, instantUserIds); } } Loading
services/core/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -14999,7 +14999,7 @@ public class ActivityManagerService extends IActivityManager.Stub mBatteryStatsService.removeUid(uid); if (intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) { mAppOpsService.resetAllModes(UserHandle.getUserId(uid), intent.getData().getSchemeSpecificPart()); intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME)); } else { mAppOpsService.uidRemoved(uid); }
services/core/java/com/android/server/pm/PackageManagerService.java +7 −1 Original line number Diff line number Diff line Loading @@ -18821,8 +18821,14 @@ public class PackageManagerService extends IPackageManager.Stub } } if (removedAppId >= 0) { // If a system app's updates are uninstalled the UID is not actually removed. Some // services need to know the package name affected. if (extras.getBoolean(Intent.EXTRA_REPLACING, false)) { extras.putString(Intent.EXTRA_PACKAGE_NAME, removedPackage); } packageSender.sendPackageBroadcast(Intent.ACTION_UID_REMOVED, removedPackage, extras, Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND, null, extras, Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND, null, null, broadcastUsers, instantUserIds); } }