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

Commit 900e0ba5 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

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

parents 99333315 5244c931
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;