Loading services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -4705,10 +4705,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { } } } } return; return; } else { // STOPSHIP check the caller UID with userId } } if (mUserManager.isUserRunning(new UserHandle(userId))) { // STOPSHIP check the caller UID with userId if (!mUserManager.isUserRunning(new UserHandle(userId))) { throw new IllegalStateException("User not running: " + userId); throw new IllegalStateException("User not running: " + userId); } } Loading Loading
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -4705,10 +4705,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { } } } } return; return; } else { // STOPSHIP check the caller UID with userId } } if (mUserManager.isUserRunning(new UserHandle(userId))) { // STOPSHIP check the caller UID with userId if (!mUserManager.isUserRunning(new UserHandle(userId))) { throw new IllegalStateException("User not running: " + userId); throw new IllegalStateException("User not running: " + userId); } } Loading