android-testdpc icon indicating copy to clipboard operation
android-testdpc copied to clipboard

Implement option to remove profile owner on primary user

Open ghost opened this issue 3 years ago • 1 comments

When test dpc is set as profile owner on primary user it cant be removed because the option to remove device owner is grayed out Please implement it

ghost avatar Aug 31 '22 15:08 ghost

I believe this is actually a limitation of Android - Profile Owners on the primary user are not able to remove themselves.

Assuming testOnly is set as true on your build - you can remove it using adb.

We won't be able to make changes to this in Android U but it might tie into some things we're doing in the next version after that.

jscott1989 avatar Oct 13 '22 18:10 jscott1989