diff options
| author | Felipe Leme <felipeal@google.com> | 2021-09-28 17:51:34 -0700 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2021-10-01 17:17:43 +0000 |
| commit | 68061836392dd0fa0c4bacc75f8c0b9dc189d827 (patch) | |
| tree | 0c1007262cbd42ec7f5cb616619216971b6440c4 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 3ab2c7fbe06e35192e3a992d27bdc8f5e83325b6 (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
Fixes: 201780563
Change-Id: I41c2cf187c1eceebe7c6ef30f9cff693b9dcbc15
(cherry picked from commit 895f3ba3f0cf1f9753efb38760ae21eb77558d6f)
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
