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

Commit 87f18c9c authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "If keyguard has preferred refresh rate, always use it" into sc-dev am: 72553d51

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15432440

Change-Id: I91d00fa878d65717fd9d5a6e90b310bcf786f4fb
parents 5c7fc61f 72553d51
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -296,8 +296,7 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW

        if (mKeyguardPreferredRefreshRate > 0) {
            boolean onKeyguard = state.mStatusBarState == StatusBarState.KEYGUARD
                    && !state.mKeyguardFadingAway && !state.mKeyguardGoingAway
                    && !state.mDozing;
                    && !state.mKeyguardFadingAway && !state.mKeyguardGoingAway;
            if (onKeyguard
                    && mAuthController.isUdfpsEnrolled(KeyguardUpdateMonitor.getCurrentUser())) {
                mLpChanged.preferredMaxDisplayRefreshRate = mKeyguardPreferredRefreshRate;