commit | 63f7e2883baf96046699f837a3a3a9bd3ddeafaf | [log] [tgz] |
---|---|---|
author | Yan Zhu <yanzhuyan@google.com> | Thu Jan 07 20:28:43 2021 -0800 |
committer | Yan Zhu <yanzhuyan@google.com> | Fri Jan 08 17:32:48 2021 -0800 |
tree | bae6a3a6d7c5d2876e6e61ff44e5cbb9341891eb | |
parent | dd0180a142887e8311bfd23f2639e831721ab850 [diff] |
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