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

Commit 31c2f1e8 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: I70a913e7743e79e90e3d5c1e8bbcb8e6a4071193
parents 5219f643 c885c24e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5050,6 +5050,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);
        updateDozingState();
        Trace.endSection();