History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
159dfb78e92a7db9c6a10543d0e6635489fc5fc1 30-Sep-2016 Jason Monk <jmonk@google.com> Fix talkback reading battery 0% on boot

Don't send battery callbacks if we don't have the info yet.

Change-Id: I52bc60bb269f7e7ceda0f42bb70d557d921b1b5a
Fixes: 30436961
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
324a28fc64b938d9b79d4e029d3dbd438ad8e9a9 12-Jul-2016 Jason Monk <jmonk@google.com> SysUI: Protect against crash in BatteryController

Change-Id: I850177b961b59b342dde4dbf67c018ac68a42960
Fixes: 30033957
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
98d7c7a84d007d3de0c3394d8a93253a313eda27 12-Apr-2016 Jason Monk <jmonk@google.com> The return and fixing of demo mode

Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
da62fdcd502e772546bd98c016ab20fff6ee62e7 07-Apr-2016 Anthony Chen <ajchen@google.com> For Auto, display battery status as that of a connected device.

For Android Auto Embedded, we would like to display the battery status
of a device that is connected via Bluetooth and not the battery status
of the device itself (which would not make sense in Auto).

To accomplish this, introduce a new CarBatteryController that only
monitors the status of battery via Bluetooth. Note that AAE is not
explicitly handling the battery icon that appears in the quick settings
because this will be hidden for Auto.

This CarBatteryController implements a new BatteryController interface.
What used to be the BatteryController has been moved to the
BatteryControllerImpl class.

Bug: 28002775
Change-Id: I2285bcbd3d207cdcc1ac5a98ec3685d4fff0f0d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java