diff options
| author | 2017-06-19 15:43:15 +0000 | |
|---|---|---|
| committer | 2017-06-19 15:43:15 +0000 | |
| commit | accfabb4fe0af463bcc6bad37f105cf9746769df (patch) | |
| tree | b8ec4cf8df595a7d03ff545d8c76eda2b4a4ff57 | |
| parent | 576d67b453e17f4c78f381cd682cd434ddbfaafc (diff) | |
| parent | 31c2f1e8816080eb1506e0f1a8d188fdd54914ec (diff) | |
Merge "Fix flash of ambient on fp unlock" into oc-dev am: c885c24e10
am: 31c2f1e881
Change-Id: Icd1e169bb9538e1ac778469393f4a3be7880368b
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 86d9158b927a..193077f23ffc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -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(); |