diff options
author | Annie Meng <anniemeng@google.com> | 2018-06-04 19:12:16 +0100 |
---|---|---|
committer | Annie Meng <anniemeng@google.com> | 2018-06-05 19:25:37 +0100 |
commit | 8927037477f4a895b35c492e0861dea86dd2440f (patch) | |
tree | 1a8237223e3818eeb5df53c0f99f99ccc4518c52 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9cf1839e502c30b415f858e8628fb9d2ce3f8c99 (diff) |
Disable bmgr if BMS is not running
If BMS is not running, we should not run any bmgr commands and print an
error. This can occur after a device with a lockscreen reboots and has
not unlocked yet, as the backup service is not active before unlocking.
Bug: 80691476
Test: 1) Device with lock + adb reboot -> run any 'adb shell bmgr'
command -> prints error
2) Device with no lock + adb reboot -> run any 'adb shell bmgr' command
-> success
Change-Id: I101b61d18a637cdb945ffc4a5e989a5dd270ee32
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions