diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-02-20 10:45:06 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-02-20 10:45:27 -0700 |
commit | d9574c7bbf23ca282b93b1297e936a3d2e98e78a (patch) | |
tree | 8ec9f60b1d3498b29e6957fd9861fda273b69745 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 14fd9cebe9903a0199e724bd32977f50ca6d6a6f (diff) |
Suppress RescueParty when active USB connection.
When there is a very early system server runtime restart, we may not
yet have a published BatteryManagerInternal, so we need to go directly
to the "batteryproperties" native service to detect the USB state.
Test: builds, rescue is suppressed when USB is connected
Bug: 34872406
Change-Id: I949984cb95495c77de85ac322075177cff07b8b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions