diff options
author | Joe Onorato <joeo@google.com> | 2011-01-23 17:03:36 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-23 17:03:36 -0800 |
commit | fac86056b285bf59c1c3e774f1cb9f6de0be59ba (patch) | |
tree | 1b5b59cd1b176d7330392f339ee43b040e7e4b52 /packages | |
parent | f6834478b379856d3e5de92ddce7de0e6ba9fa4a (diff) | |
download | frameworks_base-fac86056b285bf59c1c3e774f1cb9f6de0be59ba.zip frameworks_base-fac86056b285bf59c1c3e774f1cb9f6de0be59ba.tar.gz frameworks_base-fac86056b285bf59c1c3e774f1cb9f6de0be59ba.tar.bz2 |
Fix typo that causes brigtness to be wrong.
Bug: 3351558
Change-Id: I4409c44db15a35be98ba0b0f2c28ed939494495a
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java index 521467a..b794826 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java @@ -80,7 +80,7 @@ public class BrightnessController implements ToggleSlider.Listener { setMode(automatic ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); if (!automatic) { - final int val = value + value + MINIMUM_BACKLIGHT; + final int val = value + MINIMUM_BACKLIGHT; setBrightness(val); if (!tracking) { AsyncTask.execute(new Runnable() { |