diff options
| author | 2011-01-23 18:26:02 -0800 | |
|---|---|---|
| committer | 2011-01-23 18:26:02 -0800 | |
| commit | 2cd06609b4564d4991e9bf79301fde0bb53833ed (patch) | |
| tree | 69a1ada38cc761295af8b44f8e39efe592e438ef | |
| parent | 7ed3d005ac5ed26221ccc3596c0b81522909ca76 (diff) | |
| parent | fac86056b285bf59c1c3e774f1cb9f6de0be59ba (diff) | |
Merge "Fix typo that causes brigtness to be wrong." into honeycomb
| -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 521467a5d76a..b794826e4554 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() { |