diff options
| author | 2021-04-14 13:23:29 -0400 | |
|---|---|---|
| committer | 2021-04-14 13:23:29 -0400 | |
| commit | efe80391dd2633f857f0821fd35d2f2c4f4f2adf (patch) | |
| tree | 36126c249c6c23113329ff7ebd5ca414481f38e2 | |
| parent | b4f9164e5c7577e0c816ad660df1bc8aa5ca7873 (diff) | |
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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java b/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java index eb7b115700a7..5049d87fbc13 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() { |