Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fac86056 authored by Joe Onorato's avatar Joe Onorato
Browse files

Fix typo that causes brigtness to be wrong.

Bug: 3351558
Change-Id: I4409c44db15a35be98ba0b0f2c28ed939494495a
parent f6834478
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {