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

Commit c885c24e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix flash of ambient on fp unlock" into oc-dev

parents 65ffdba7 be9df03c
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -5050,6 +5050,12 @@ public class StatusBar extends SystemUI implements DemoMode,
        mDozing = mDozingRequested && mState == StatusBarState.KEYGUARD
        mDozing = mDozingRequested && mState == StatusBarState.KEYGUARD
                || mFingerprintUnlockController.getMode()
                || mFingerprintUnlockController.getMode()
                        == FingerprintUnlockController.MODE_WAKE_AND_UNLOCK_PULSING;
                        == FingerprintUnlockController.MODE_WAKE_AND_UNLOCK_PULSING;
        // When in wake-and-unlock we may not have received a change to mState
        // but we still should not be dozing, manually set to false.
        if (mFingerprintUnlockController.getMode() ==
                FingerprintUnlockController.MODE_WAKE_AND_UNLOCK) {
            mDozing = false;
        }
        mStatusBarWindowManager.setDozing(mDozing);
        mStatusBarWindowManager.setDozing(mDozing);
        updateDozingState();
        updateDozingState();
        Trace.endSection();
        Trace.endSection();