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

Commit 6712969c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Get uid from PACKAGE_REMOVE intent in AppStandbyController" into main

parents b55089f3 804a53db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2258,7 +2258,8 @@ public class AppStandbyController
            }
            synchronized (mSystemExemptionAppOpMode) {
                if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
                    mSystemExemptionAppOpMode.delete(UserHandle.getUid(userId, getAppId(pkgName)));
                    final int uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID);
                    mSystemExemptionAppOpMode.delete(uid);
                }
            }