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

Commit 5c977ea1 authored by Michael Wright's avatar Michael Wright
Browse files

Unbreak manual brightness setting.

Change-Id: I0ba5b82f60eacd66db0dcf4166e9a919ee06f2e0
parent d2c3adc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -503,7 +503,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
            boolean slow;
            int screenAutoBrightness = mAutomaticBrightnessController != null ?
                    mAutomaticBrightnessController.getAutomaticScreenBrightness() : -1;
            if (screenAutoBrightness >= 0) {
            if (screenAutoBrightness >= 0 && mPowerRequest.useAutoBrightness) {
                // Use current auto-brightness value.
                target = screenAutoBrightness;
                slow = mUsingScreenAutoBrightness;