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

Commit 7ec04416 authored by Liana Kazanova (xWF)'s avatar Liana Kazanova (xWF) Committed by Android (Google) Code Review
Browse files

Merge "Revert "Ensure packageRemoved is called when UID is removed"" into main

parents d718df0c 4924ef76
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -540,11 +540,11 @@ public class AppOpsService extends IAppOpsService.Stub {
            this.uid = uid;
        }

        @SuppressWarnings("GuardedBy")
        public void clear() {
            mAppOpsCheckingService.removeUid(uid);
            for (int i = 0; i < pkgOps.size(); i++) {
                packageRemovedLocked(uid, pkgOps.keyAt(i));
                String packageName = pkgOps.keyAt(i);
                mAppOpsCheckingService.removePackage(packageName, UserHandle.getUserId(uid));
            }
        }