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

Commit f7c2a03c authored by Beverly's avatar Beverly
Browse files

Avoid IPC onStartedWakingUp

Instead, use cached version in KeyguardUpdateMonitor.

Test: builds
Fixes: 297857067
Change-Id: I72a503892b2605c77f2e3b6f81e1d72dd523407f
parent c752d081
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2861,7 +2861,9 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
                                    && mWakefulnessLifecycle.getLastWakeReason()
                                    == PowerManager.WAKE_REASON_POWER_BUTTON
                                    && mFingerprintManager.get().isPowerbuttonFps()
                                    && mFingerprintManager.get().hasEnrolledFingerprints()
                                    && mKeyguardUpdateMonitor
                                    .getCachedIsUnlockWithFingerprintPossible(
                                            mUserTracker.getUserId())
                                    && !touchToUnlockAnytime;
                    if (DEBUG_WAKEUP_DELAY) {
                        Log.d(TAG, "mShouldDelayWakeUpAnimation=" + mShouldDelayWakeUpAnimation);