commit | e89688fcd7076f6a531ce7b91458f6c3159996bb | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Fri May 24 15:56:17 2019 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Tue May 28 17:51:39 2019 +0000 |
tree | 212b41e3bcea219f669d6dfe12e47990cec1c5bb | |
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