Merge "Move removePackageData to handler thread."
This commit is contained in:
committed by
Android (Google) Code Review
commit
826ce0df09
@@ -3311,7 +3311,8 @@ final class InstallPackageHelper {
|
||||
if (disabledPs == null) {
|
||||
logCriticalInfo(Log.WARN, "System package " + packageName
|
||||
+ " no longer exists; its data will be wiped");
|
||||
mRemovePackageHelper.removePackageData(ps, userIds, null, 0, false);
|
||||
mInjector.getHandler().post(
|
||||
() -> mRemovePackageHelper.removePackageData(ps, userIds, null, 0, false));
|
||||
} else {
|
||||
// we still have a disabled system package, but, it still might have
|
||||
// been removed. check the code path still exists and check there's
|
||||
|
||||
Reference in New Issue
Block a user