diff options
author | Daniel Sandler <dsandler@android.com> | 2012-03-15 22:39:26 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-03-15 22:39:26 -0400 |
commit | 336a1bc30f77479745a63838bd01a22ad026dd27 (patch) | |
tree | 7f04252010b93c494f60be3db946bf7541c931c8 | |
parent | 5571ffdd9d419e3b1e050501e6f8dbfb04159b5d (diff) | |
download | frameworks_base-336a1bc30f77479745a63838bd01a22ad026dd27.zip frameworks_base-336a1bc30f77479745a63838bd01a22ad026dd27.tar.gz frameworks_base-336a1bc30f77479745a63838bd01a22ad026dd27.tar.bz2 |
Allow the quick settings panel to fully dim the display.
Bug: 5745968
Change-Id: I81bdfa0c1a53026c31bce3cdd81d4d95c94fd460
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java | 4 |
1 files changed, 1 insertions, 3 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 b794826..72fdfad 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessController.java @@ -31,9 +31,7 @@ import android.widget.CompoundButton; public class BrightnessController implements ToggleSlider.Listener { private static final String TAG = "StatusBar.BrightnessController"; - // Backlight range is from 0 - 255. Need to make sure that user - // doesn't set the backlight to 0 and get stuck - private static final int MINIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_DIM + 10; + private static final int MINIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_DIM; private static final int MAXIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_ON; private Context mContext; |