Merge "Temporarily disable LauncherApps reverse access check"
This commit is contained in:
committed by
Android (Google) Code Review
commit
25ee47ff24
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user