am 2cd06609: Merge "Fix typo that causes brigtness to be wrong." into honeycomb

* commit '2cd06609b4564d4991e9bf79301fde0bb53833ed':
  Fix typo that causes brigtness to be wrong.
This commit is contained in:
Joe Onorato
2011-01-23 23:36:37 -08:00
committed by Android Git Automerger

View File

@@ -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() {