Skip to content
Commit 63f7e288 authored by Yan Zhu's avatar Yan Zhu
Browse files

Add getProfileOwnerNameUnchecked private method and use in manageUserUnchecked

Skip check for canManageUser.

Test: manual: download and install TestDPC
adb unroot && adb shell dpm set-device-owner --user 0 com.afwsamples.testdpc/.DeviceAdminReceiver
Fixes: 176107119

Change-Id: Ic00afaffc58a567490fa8fb3b8c66a9569e6333b
parent dd0180a1
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