Merge "Don't wtf() for reverse profile access; make it a warning." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5fd39fad26
@@ -419,7 +419,7 @@ public class LauncherApps {
|
||||
*/
|
||||
private void logErrorForInvalidProfileAccess(@NonNull UserHandle target) {
|
||||
if (UserHandle.myUserId() != target.getIdentifier() && mUserManager.isManagedProfile()) {
|
||||
Log.e(TAG, "Accessing other profiles/users from managed profile is no longer allowed.");
|
||||
Log.w(TAG, "Accessing other profiles/users from managed profile is no longer allowed.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user