Merge "If keyguard has preferred refresh rate, always use it" into sc-dev am: 72553d5124
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15432440 Change-Id: I17c0ee046f7d6ac8487dabb76d5354e8f4db83f0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user