Fix Clock flickers after reboot with strong authentication
After boot, the device request the strong authentication but finger print is not strong. The keyguard will appear after collapsing NotificationPanelView. Because StatusBarKeyguardViewManager.mExpansionCallback.onFullyShown ->updateStates should call mStatusBar.setBouncerShowing(true) before PanelBar.mExpanded = false but StatusBarKeyguardViewManager.mBouncer.isShowing() return false, StatusBarKeyguardViewManager.updateStates doesn't call mStatusBar.setBouncerShowing. After PanelBar.mExpanded = false, PhoneStatusBarView post runnable mHideExpandedRunnable to show the Bouncer and make the Bouncer to be showing and then change the NotificationPanelView to be VISIBLE. The solution is to call mStatusBarKeyguardViewManager.showBouncer(false) before calling mStatusBarKeyguardViewManager.animateCollapsePanels( FINGERPRINT_COLLAPSE_SPEEDUP_FACTOR). To make the KeyguardBouncer.mRoot to be VISIBLE by KeyguardBouncer.mShowRunnable. Bug: 78490344 Test: atest SystemUITests Change-Id: Ia8770cd3ca98007574c0ba18c0464fc2f58b7973
Loading
Please register or sign in to comment