Skip to content
Commit 2560f6f8 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Only call getActiveAdminForCallerLocked when holding a lock

+ factored out all device-owner checking calls
+ some profile owner checks

Fixes: 110040849
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.DeviceOwnerTest#testSetTime
Test: create a profile with TestDPS, it sets profile name.
Change-Id: I5fec70505d089bd7dcea80eae3df9c0f2b7094dd
parent 1a61e0ea
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