Fix status bar flickering
After refactoring NPV, BiometricUnlockController started to receive authentication callbacks before NotificationPanelViewController. This means that wakeAndUnlock will start earlier, and the order that onBiometricAuthenticated and onBiometricRunningStateChanged is not guaranteed anymore. This CL checks if we're unlocking with biometrics before showing the status bar, in order to keep it hidden when dismissing the keyguard, regardless of callback invocation order. Test: unlock with face Test: wait for face timeout Test: unlock with password Test: unlock with face after SB is visible Fixes: 159445348 Change-Id: I43f78f4ab4d0e89e27fcfe5ba527a6c3ff18b0ae
Loading
Please register or sign in to comment