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

Commit c2b629c6 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

am: 1a213362

Change-Id: I6f3514154e75a74c69bdf5292dc73783e652a9ec
parents 576d67b4 1a213362
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();