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

Replace isAdb and enforceShell in DPMS

* Replace isAdb with isAdb(caller)
* Remove enforceShell and use isAdb(caller) instead

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: Id739a6a41bb647b4e485e1f7a109362874cfb2f0
parent 867119b5
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