summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2020-10-22 12:43:14 +0100
committerEran Messeri <eranm@google.com>2020-10-22 19:55:13 +0100
commit95d9d9fba53a3fc560d596deb023216b79932674 (patch)
tree8b030af0bffe90ad546e4d5716f7561854097c9e /rs/java/android/renderscript/ProgramStore.java
parent617a0256ad5f1c55c5b9fd1c9d9ca9cffd5ae55a (diff)
Fix checking of admins in resetPassword
Ensure resetPassword throws the right exception or returns the right value when called by Device Owner, Profile Owner or Device Admin. The methods for getting the ActiveAdmin associated with the DO/PO did not work with a CallerIdentity object that had a null componentName. Now they can cope with that. Bug: 171407703 Bug: 171408165 Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest com.android.cts.devicepolicy.MixedDeviceOwnerTest com.android.cts.devicepolicy.MixedProfileOwnerTest Test: atest FrameworksServicesTests:DevicePolicyManagerTest Test: atest com.android.cts.devicepolicy.DeviceAdminHostSideTestApi23#testResetPasswordDeprecated com.android.cts.devicepolicy.MixedDeviceOwnerTestApi25#testResetPasswordDeprecated Change-Id: Ibe5c8587f07f1416ffa72dd6f4a8c20a9ec06115
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions