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

Commit 1a213362 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

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

am: c885c24e

Change-Id: Ibbff840983dc3f15745275d44393645f110b74c1
parents 7284e2a8 c885c24e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5208,6 +5208,12 @@ public class StatusBar extends SystemUI implements DemoMode,
        mDozing = mDozingRequested && mState == StatusBarState.KEYGUARD
                || mFingerprintUnlockController.getMode()
                        == 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);
        mStatusBarKeyguardViewManager.setDozing(mDozing);
        updateDozingState();