diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-02-23 12:40:54 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-02-23 12:40:57 -0700 |
commit | 1bec44836ed6b29e128849b7be34dc7b2a214e76 (patch) | |
tree | 24991990db8a7fcf6f502077dfd05360c5d1e166 /libs/hwui/renderthread/OpenGLPipeline.cpp | |
parent | bfaaa44f274050d708b149bc94a4250e4cc5ca32 (diff) |
Take another pass at detecting USB connections.
For some odd reason, devices with ADB connections in test harnesses
are reporting that they're connected over an AC charger instead of
USB charger.
So switch to reading a sysfs file to detect an active USB connection.
Test: builds, boots, rescue disabled when USB connection present
Bug: 34872406
Change-Id: I4c2cb9ed7e51b9692ce81eb0ef4945dae0036212
Diffstat (limited to 'libs/hwui/renderthread/OpenGLPipeline.cpp')
0 files changed, 0 insertions, 0 deletions