diff options
author | Keun-young Park <keunyoung@google.com> | 2016-01-05 13:27:29 -0800 |
---|---|---|
committer | Vitalii Tomkiv <vitalit@google.com> | 2016-08-24 15:00:08 -0700 |
commit | badbbae6fa2846415778b2a152a0758acbf0eb74 (patch) | |
tree | e4fe03dfcf31c78e12f13fc16b7fb810b67bae1f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d3ca5980f7d85e706d39af6da26686b6632f1d46 (diff) |
allow external USB host management
- Setting config_UsbDeviceConnectionHandling_component leads into
launching specified Activity whenever USB device is connected.
- This allows external Activity to manage USB device based on
its own setup and settings.
- Device access can be passed to other app with permission update
by UsbManager.grantPermission.
- added UsbDeviceConnection.resetDevice() to reset USB device connected.
This is necessary to get device out from AOAP.
- Test requires installing UsbHostExternalManagmentTestApp and
AoapTestHost to USB host, and AoapTestDevice to USB Device.
bug: 26404209
Change-Id: I8e77ddc646c15454d9b2ecf1356924cf6351fc28
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions