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

Commit 336a1bc3 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Allow the quick settings panel to fully dim the display.

Bug: 5745968
Change-Id: I81bdfa0c1a53026c31bce3cdd81d4d95c94fd460
parent 5571ffdd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;