OSDN Git Service

Don't restore old brightness when cancelling brightness dialog in automatic mode.
authorMike Lockwood <lockwood@android.com>
Wed, 28 Oct 2009 22:33:04 +0000 (18:33 -0400)
committerMike Lockwood <lockwood@android.com>
Wed, 28 Oct 2009 22:33:04 +0000 (18:33 -0400)
commit53dcdeeb85e523e0b752d802d3413f5d4001d575
tree2b45b09ff09fd52a4f3de490021c87e780fe8ff2
parentd02acfb908562780eec830a85e121f9925108c36
Don't restore old brightness when cancelling brightness dialog in automatic mode.

Fixes a problem that could result in the backlight getting set to a bogus brightness
level if you open the dialog and cancel when in automatic mode.

Bug b/2015734

Change-Id: I302697e4ebd37afcdbfdd74ba0b1cc9be27ee40b
Signed-off-by: Mike Lockwood <lockwood@android.com>
src/com/android/settings/BrightnessPreference.java