diff options
| author | Jim Kaye <jameskaye@google.com> | 2017-02-15 14:28:23 -0800 |
|---|---|---|
| committer | Jim Kaye <jameskaye@google.com> | 2017-04-10 17:36:23 +0000 |
| commit | 9b5ee823a8ebe8372b80c1efafaba51322271d79 (patch) | |
| tree | d320efeaa51f37f742468bd04926bc6a38f45c49 /docs/html/sdk/api_diff/20 | |
| parent | ae43e073af2efd48ebffb1c72774dceade11f3e2 (diff) | |
Do not declare USB support in the Emulator
Some Framework code assumes USB, but the Emulator does not
support USB connections. To work around this, the Emulator
includes a trivial UsbManager and indicates
'android.hardware.usb.accessory' support.
This situation is inconsistent and causes problems, including
CTS and CTS-Verifier failures.
This change removes the indication of
'android.hardware.usb.accessory' and corrects a Framework
NPE if USB support is queried relative to a null device.
BUG: 28088069
b.android.com/234319
Change-Id: I9d35b6bb7788db08f8121755300384db9eb8baf9
(cherry picked from commit 0f7ca97a57200eb1e2f3fb0081722f5775a6a14b)
Diffstat (limited to 'docs/html/sdk/api_diff/20')
0 files changed, 0 insertions, 0 deletions
