0

We need to make an app device owner using adb (without factory resetting device and manually removing restoring accounts) but it requires the device to have no user accounts like gmail, facebook, etc until the device owner is set. Once device owner is set we can restore any previous user accounts. So how can we achieve same using adb or code.

Tried using methods of AccountManager class but it throws security exception and we cant access password of account to restore

0 Answers0