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

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

Merge "Temporarily disable LauncherApps reverse access check"

parents 1f3a5ada 86389b3e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -232,7 +232,12 @@ public class LauncherAppsService extends SystemService {
            try {
                UserInfo callingUserInfo = mUm.getUserInfo(callingUserId);
                if (callingUserInfo.isManagedProfile()) {
                    throw new SecurityException(message + " for another profile " + targetUserId);
                    // TODO: Make it SecurityException.  See b/34650921
                    // throw new SecurityException(message + " for another profile " + targetUserId);

                    // TODO: Report caller package name.
                    Slog.wtfStack(TAG, message + " for another profile " + targetUserId
                            + " from " + callingUserId);
                }

                UserInfo targetUserInfo = mUm.getUserInfo(targetUserId);