diff options
| author | Pavel Grafov <pgrafov@google.com> | 2019-10-30 13:29:01 +0000 |
|---|---|---|
| committer | Pavel Grafov <pgrafov@google.com> | 2019-10-31 19:14:46 +0000 |
| commit | 775b26d8844540680015c5df90f8592c1864a9a8 (patch) | |
| tree | 9eccbb0aba64107f68fa18001da46d099421ce9f /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | 07e10e3a965c76086ed84779aa3d1915d023eca7 (diff) | |
Re-activate backup service after cleaning a profile owner
Currently backup service is re-activated unconditionally when clearing
a device owner but not profile owner. With this CL it should be
re-activate in both cases.
NB: there are two bits of state related to backup service:
1. activated or deactivated: This is out of user control, but can be
changed by the admin via DPM.setBackupServiceEnabled (this name is
a bit misleading here).
2. enabled or disabled: this is controlled by the user via Settings
and only available when backup service is activated (see 1.)
Bug: 143274029
Test: atest CtsAdminTestCases && adb shell bmgr enabled
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: I6f11642abe544c7df265ed7e2ad466d47796e7f9
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
