From efe80391dd2633f857f0821fd35d2f2c4f4f2adf Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Wed, 14 Apr 2021 13:23:29 -0400 Subject: [PATCH] Fix alignment when build number is not shown In that case, the page indicator should still be center aligned. Given that we are using the TextField space and a view on the other side to align, make it invisible. Test: manual Fixes: 185377334 Change-Id: I11a97201517302e0dcf63e07db337f8b867243fa --- packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java b/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java index eb7b115700a76..5049d87fbc13e 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java @@ -288,7 +288,7 @@ public class QSFooterView extends FrameLayout { } mSettingsButton.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); - mBuildText.setVisibility(mExpanded && mShouldShowBuildText ? View.VISIBLE : View.GONE); + mBuildText.setVisibility(mExpanded && mShouldShowBuildText ? View.VISIBLE : View.INVISIBLE); } private boolean showUserSwitcher() {