summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorMichael Groover <mpgroover@google.com>2020-01-08 17:42:48 -0800
committerMichael Groover <mpgroover@google.com>2020-01-08 17:42:48 -0800
commit938fa456dfbead1db4db8d7a86aa2e92246f5d70 (patch)
tree40ef9f8bfa573352f1815583aef00dec5952595b /rs/java/android/renderscript/RenderScriptGL.java
parentdf1b6de06c580d9a5fa86973db7cdd7c88696283 (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
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions