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
This commit is contained in:
Fabian Kozynski
2021-04-14 13:23:29 -04:00
parent b4f9164e5c
commit efe80391dd

View File

@@ -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() {