summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2021-04-14 13:23:29 -0400
committer Fabian Kozynski <kozynski@google.com> 2021-04-14 13:23:29 -0400
commitefe80391dd2633f857f0821fd35d2f2c4f4f2adf (patch)
tree36126c249c6c23113329ff7ebd5ca414481f38e2
parentb4f9164e5c7577e0c816ad660df1bc8aa5ca7873 (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.java2
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() {