diff options
author | Jim Miller <jaggies@google.com> | 2011-01-26 21:58:28 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-01-26 21:58:28 -0800 |
commit | b92e18e2dfa4f5b791a53b9c963cf2b9e1f1f25c (patch) | |
tree | 8c2565a72d4d6c69b739ea66ec4aa30f23b930ce /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ee37ab8dce5fe60d9a2af411ae9e38e3e44589ed (diff) |
Fix 3388705: Explicitly check for low battery level
This fixes a bug in StatusView believed to be caused by
seeing "invalid charger" update from BatteryService.
The code normally relies on "interesting events", as determined
by KeyguardUpdateMonitor. I believe something else is
triggering an update (perhaps a SimStateChanged event) that updates
the status without also updating StatusView.mShowingBatteryInfo
and mPluggedIn.
The safer way to do this is to explicitly check the battery
level before telling the user the device needs to be charged.
Change-Id: Ic39ed86c78a157dc9fbdef4d76a9c3db39ccafca
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions