commit | d9574c7bbf23ca282b93b1297e936a3d2e98e78a | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Feb 20 10:45:06 2017 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Feb 20 10:45:27 2017 -0700 |
tree | 8ec9f60b1d3498b29e6957fd9861fda273b69745 | |
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