summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Groover <mpgroover@google.com>2020-01-08 17:42:48 -0800
committerMichael Groover <mpgroover@google.com>2020-01-23 13:37:15 -0800
commitc718e54c27103ba690d99266b1d2f63fbe7f163d (patch)
tree0c2cc9e2a718459f3ec9faa51a3c2915f485ecdf /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc866e0c52e997aabe57039d270fe72bb14b754e3 (diff)
Ensure adb key store is instantiated before revoking grants
If adb is not enabled on a device then the adb key store is not instantiated when the AdbDebuggingManager's handler is started as in most cases it will not be needed. However if the user attempts to revoke any previous adb grants when a device is booted with adb disabled it will result in a NPE. This commit ensures the key store is instantiated before attempting to revoke authorizations. Test: atest AdbDebuggingManagerTest Test: Manually invoked 'Revoke USB debugging authorizations' after a boot with adb disabled. Fixes: 145790817 Change-Id: Id00e531c18412be009a211eec80a72867659608f Merged-In: Id00e531c18412be009a211eec80a72867659608f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions