Fixed DPMS.setDeviceOwner() permission check.
It was not clearing the caller's identity before calling manageUserUnchecked(). Test: atest com.android.bedstead.nene.devicepolicy.DevicePolicyTest#setDeviceOwner_deviceOwnerIsAlreadySet_throwsException Fixes: 200810234 Change-Id: I3f96e1bf477f310d0c8eee935839cf401df44e02
Loading
Please register or sign in to comment