Fix NPE
Bug:172868901 Test:manual verification device reboot once for UserInfo is null Signed-off-by: wangshouchun <wangshouchun@xiaomi.com> Change-Id: Iddb3eb077ce06fdb1be63ca34ebf8fe2e64f2638
This commit is contained in:
@@ -5112,6 +5112,9 @@ public class UserManagerService extends IUserManager.Stub {
|
||||
debugMsg + " for another profile "
|
||||
+ targetUserId + " from " + callingUserId);
|
||||
}
|
||||
Slog.w(LOG_TAG, debugMsg + " for another profile "
|
||||
+ targetUserId + " from " + callingUserId);
|
||||
return false;
|
||||
}
|
||||
|
||||
UserInfo targetUserInfo = getUserInfoLU(targetUserId);
|
||||
|
||||
Reference in New Issue
Block a user