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

Commit 826ce0df authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Move removePackageData to handler thread."

parents 79324138 547578c8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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