diff options
| author | Badhri Jagan Sridharan <badhri@google.com> | 2019-06-20 11:14:35 -0700 |
|---|---|---|
| committer | Badhri Jagan Sridharan <badhri@google.com> | 2019-06-20 12:13:31 -0700 |
| commit | 23eec68b5f45abb11d0b78795e36ce04c0ec73b0 (patch) | |
| tree | 2aaee49468f5b7771706c21b1708a8085dba6214 /libutils/Unicode.cpp | |
| parent | cddc1c604ca26bfb4fdfa5fa67f09c372bf4445d (diff) | |
usbd: Exit in case of charger mode.
UsbGadget hal is not expected run in charger mode.
This should fix the following errors in charger mode:
[ 86.609578] c4 612 init: Received control message 'interface_start' for 'android.hardware.usb.gadget@1.0::IUsbGadget/default' from pid: 565 (/system/bin/hwservicemanager)
[ 86.618236] c7 1 init: Could not find 'android.hardware.usb.gadget@1.0::IUsbGadget/default' for ctl.interface_start
Bug: 135566354
Test: Manually verified that usbd exits early in charger mode.
Change-Id: I3ba5be883c49e5ca3e4dad4443528e4eee8b25b9
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
