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

Commit a0833b0b 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:...

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

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

Change-Id: Icccd20d53402adbef9dd22b7abd6a0e864337190
parents 5238df8d 87f18c9c
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;