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

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

Merge "Fix an issue LauncherApps couldn’t get onPackageRemoved Callback"

parents 02920dd9 fdb68fbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1263,7 +1263,7 @@ public class LauncherAppsService extends SystemService {

        /** Returns whether or not the given appId is in allow list */
        private static boolean isCallingAppIdAllowed(int[] appIdAllowList, @AppIdInt int appId) {
            if (appIdAllowList == null) {
            if (appIdAllowList == null || appId < Process.FIRST_APPLICATION_UID) {
                return true;
            }
            return Arrays.binarySearch(appIdAllowList, appId) > -1;