Skip to content
Commit 46553039 authored by Alex Johnston's avatar Alex Johnston
Browse files

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
parent eebade3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment