diff options
author | Felipe Leme <felipeal@google.com> | 2021-09-28 17:51:34 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-09-29 09:30:53 -0700 |
commit | 895f3ba3f0cf1f9753efb38760ae21eb77558d6f (patch) | |
tree | 262ec4d994eab0a58ff4929dde0ea947ffee0e0d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 292c4941c6aca735a9af43b2e74ef1ccfff9a17b (diff) |
Added a DevicePolicyManager.setDeviceOwnerOnly() method.
It will be used by the test infra to just set the device owner,
without setting the profile owner on current user on systems
using headless system user.
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testDeviceOwnerSetup
Test: adb shell dpm set-device-owner --user 0 --device-owner-only com.afwsamples.testdpc/.DeviceAdminReceiver
Test: m update-api
Fixes: 201313785
Bug: 192395248
Change-Id: I41c2cf187c1eceebe7c6ef30f9cff693b9dcbc15
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions