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

Commit ae3d46ba authored by Song Chun Fan's avatar Song Chun Fan Committed by Android (Google) Code Review
Browse files

Merge "Remove the clone app only when the parent app is removed" into main

parents e9a8a530 0fd25c7f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -829,6 +829,9 @@ final class DeletePackageHelper {
                        int returnCodeOfChild;
                        for (int childId : childUserIds) {
                            if (childId == userId) continue;
                            if (mUserManagerInternal.getProfileParentId(childId) != userId) {
                                continue;
                            }

                            // If package is not present in child then don't attempt to delete.
                            if (!packageState.getUserStateOrDefault(childId).isInstalled()) {