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

Commit 2ca85c20 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 900e0ba5: Merge "Dim the screen quickly in response to user activity timeout." into jb-mr1-dev

* commit '900e0ba5':
  Dim the screen quickly in response to user activity timeout.
parents c0657fb3 900e0ba5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -648,10 +648,10 @@ final class DisplayPowerController {
                mUsingScreenAutoBrightness = false;
            }
            if (mPowerRequest.screenState == DisplayPowerRequest.SCREEN_STATE_DIM) {
                // Dim slowly by at least some minimum amount.
                // Dim quickly by at least some minimum amount.
                target = Math.min(target - SCREEN_DIM_MINIMUM_REDUCTION,
                        mScreenBrightnessDimConfig);
                slow = true;
                slow = false;
            } else if (wasDim) {
                // Brighten quickly.
                slow = false;