diff options
author | Pavel Grafov <pgrafov@google.com> | 2019-10-30 13:29:01 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2020-02-04 10:54:27 +0000 |
commit | b9c4862b8605b653153be29ed902142539f4ffe2 (patch) | |
tree | 9b127fa947c5d8c81505ff0a67716a85d115984e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 25f9b23c6a012df48584e5614af86bfc667d592e (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
Bug: 147997438
Test: atest CtsAdminTestCases && adb shell bmgr enabled
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Merged-In: I6f11642abe544c7df265ed7e2ad466d47796e7f9
Change-Id: I6f11642abe544c7df265ed7e2ad466d47796e7f9
(cherry picked from commit 775b26d8844540680015c5df90f8592c1864a9a8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions