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

Commit 6224f54e authored by Steve Kondik's avatar Steve Kondik
Browse files

display: Don't enable keyboard lights when dozing

Change-Id: Ifd2e490da0af564315aa3c07002cb045377b78cd
parent fca49c41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -607,7 +607,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
        // Disable button lights when dozing
        if (state == Display.STATE_DOZE || state == Display.STATE_DOZE_SUSPEND) {
            mLights.getLight(LightsManager.LIGHT_ID_BUTTONS).setBrightness(PowerManager.BRIGHTNESS_OFF);
            mLights.getLight(LightsManager.LIGHT_ID_KEYBOARD).setBrightness(brightness);
            mLights.getLight(LightsManager.LIGHT_ID_KEYBOARD).setBrightness(PowerManager.BRIGHTNESS_OFF);
        }

        // Configure auto-brightness.