From 5eb15f76ac9de151f830864b1dad0ee618d956fc Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Thu, 27 Apr 2023 13:49:30 -0700 Subject: [PATCH] Remove unnecessary line This is redundant beause we set view to visible if isshowing a few lines before. Bug: 279957213 Test: Ensure that app builds and bouncer still shows. Change-Id: I4e9c5ede8feee98ded7f6bb1fdd7b3bf57d43db3 --- .../systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt index 6bbc6f61cc6fd..c1aefc7bcbd73 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt @@ -112,8 +112,6 @@ object KeyguardBouncerViewBinder { viewModel.isShowing.collect { isShowing -> view.visibility = if (isShowing) View.VISIBLE else View.INVISIBLE if (isShowing) { - // Reset Security Container entirely. - view.visibility = View.VISIBLE securityContainerController.reinflateViewFlipper { // Reset Security Container entirely. securityContainerController.onBouncerVisibilityChanged(