Replace binder uid and context permission methods dpms
- Replace binderGetCallingUid with caller identity getUid
- Use hasCallingPermission and variants
- Use precondition checks
Bug: 167960209
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest
atest com.android.cts.devicepolicy.ProfileOwnerTest
atest com.android.cts.devicepolicy.ManagedProfileTest
Change-Id: I96ae4c46ad7d7bd40428109fc199c7c804232cc8
Loading
Please register or sign in to comment