Merge "Fix flash of ambient on fp unlock" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c885c24e10
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user