diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-05-24 15:56:17 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2019-05-28 17:51:39 +0000 |
commit | e89688fcd7076f6a531ce7b91458f6c3159996bb (patch) | |
tree | 212b41e3bcea219f669d6dfe12e47990cec1c5bb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3fb12ba4902605668faa22a93f0881ab333ec11d (diff) |
Check USB device/accessory perms with sys identity
As checking the permissions might call UsbDevice/UsbAccessory.getSerial
again, we have to make sure that in this code paths we run with the
system's identity so that we can always resolve the serial number.
Test: CtsVerifier UsbAccessory/UsbDevice test
Fixes: 117606509
Change-Id: I777be10b806ab02046f99805806ae1a16ebb0203
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions