commit | 512626d453eb2b7f1b2469ff2586a53be25738bd | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Fri May 07 18:49:38 2021 +0100 |
committer | Jonathan Scott <scottjonathan@google.com> | Mon May 17 11:51:10 2021 +0100 |
tree | 3604c79ee0cc1d81b52cb4d0d038b38676cdf4f8 | |
parent | 64a74e69c7b246e522d98d489e5dd02a6e228a91 [diff] |
Use DevicePolicyManager.setDeviceOwner on S+. This allows us to enter the state of running on a secondary user on a device with a device owner - except that currently forceUpdateUserSetupComplete doesn't allow calling from secondary users. Test: atest HarrierTest Test: atest NeneTest Bug: 177663307 Change-Id: Ib69f55906ff31c326510c9c15214fbec367a54f1