summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/8/changes
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-04-17 22:29:20 -0400
committerMike Lockwood <lockwood@android.com>2010-04-17 22:29:20 -0400
commit48358bd5c1a35c153c024608b4a302b90f62abfd (patch)
treec86f41d1c5c1a13e7080e510f636866b8e79c9ff /docs/html/sdk/api_diff/8/changes
parent3c44db3f67c1f0bf82191ba77ca479c0e7fede34 (diff)
Fix inconsistency in how we handle light sensor when battery is low.
In lightSensorChangedLocked we ignore the light sensor if the battery is low. But in applyButtonState() and applyKeyboardState() we were still using the previous mLightSensorScreenBrightness value, which resulted in a race condition that could leave the button lights on after the screen turns off. Now we ignore the light sensor value and button brightness override if the battery is low so the low battery behavior is consistent. Change-Id: I4943f8904299883211a95596ee207df69d1eaea2 BUG: 2570962 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'docs/html/sdk/api_diff/8/changes')
0 files changed, 0 insertions, 0 deletions