Merge "Fix typo that causes brigtness to be wrong." into honeycomb
This commit is contained in:
@@ -80,7 +80,7 @@ public class BrightnessController implements ToggleSlider.Listener {
|
|||||||
setMode(automatic ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC
|
setMode(automatic ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC
|
||||||
: Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL);
|
: Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL);
|
||||||
if (!automatic) {
|
if (!automatic) {
|
||||||
final int val = value + value + MINIMUM_BACKLIGHT;
|
final int val = value + MINIMUM_BACKLIGHT;
|
||||||
setBrightness(val);
|
setBrightness(val);
|
||||||
if (!tracking) {
|
if (!tracking) {
|
||||||
AsyncTask.execute(new Runnable() {
|
AsyncTask.execute(new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user