Merge "Fix user switcher flicker." into udc-qpr-dev

This commit is contained in:
Aaron Liu
2023-07-31 17:16:20 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -1197,6 +1197,8 @@ public class KeyguardSecurityContainer extends ConstraintLayout {
});
mPopup.show();
});
mUserSwitcherViewGroup.setAlpha(0f);
}
@Override

View File

@@ -120,6 +120,8 @@ object KeyguardBouncerViewBinder {
viewModel.isShowing.collect { isShowing ->
view.visibility = if (isShowing) View.VISIBLE else View.INVISIBLE
if (isShowing) {
// Reset security container because these views are not reinflated.
securityContainerController.reset()
securityContainerController.reinflateViewFlipper {
// Reset Security Container entirely.
securityContainerController.onBouncerVisibilityChanged(