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

Commit 2f5efef5 authored by Ahan Wu's avatar Ahan Wu
Browse files

End latency instrument before reseting the biometric unlock mode

Bug: 234731344
Test: atest FingerprintWakeAndUnlockMicrobenchmark
Change-Id: I1fcc370897acbda3a924f98c1a4684b7c069f1fd
parent 89c8c9f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -845,13 +845,13 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
                boolean staying = mStatusBarStateController.leaveOpenOnKeyguardHide();
                if (!staying) {
                    mNotificationShadeWindowController.setKeyguardFadingAway(true);
                    wakeAndUnlockDejank();
                    mCentralSurfaces.hideKeyguard();
                    // hide() will happen asynchronously and might arrive after the scrims
                    // were already hidden, this means that the transition callback won't
                    // be triggered anymore and StatusBarWindowController will be forever in
                    // the fadingAway state.
                    mCentralSurfaces.updateScrimController();
                    wakeAndUnlockDejank();
                } else {
                    mCentralSurfaces.hideKeyguard();
                    mCentralSurfaces.finishKeyguardFadingAway();
@@ -895,7 +895,6 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
        mBiometricUnlockController.finishKeyguardFadingAway();
        WindowManagerGlobal.getInstance().trimMemory(
                ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN);

    }

    private void wakeAndUnlockDejank() {