commit | 701bfb10349cebc8075394f0920462cb9e6d79e3 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Tue Jan 08 21:00:39 2013 -0800 |
committer | Todd Poynor <toddpoynor@google.com> | Wed Jan 30 11:24:56 2013 -0800 |
tree | db82670520cecb4500c7e7046fc044c767357447 | |
parent | 393fa83424822fca7a105a690d09d796f2241626 [diff] |
BatteryService: Allow power supplies to switch type between AC and USB Accomodate power_supply drivers that switch between MAINS and USB type according to the current power source. Re-read the type attribute when the power supply is online. Switch to String8 type for strings stored locally. Change-Id: Iacce49bf3ad85f35a7295a54df43aff7f94f3100