summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2023-05-04 14:28:08 -0400
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-08 19:20:14 +0000
commite2376d42e488aec4b37b55a00098fda0d048bbf1 (patch)
treeabdd17b9cc65178542890fcb1a05ed460904fe0e
parent0ce33f0c4445899f47fb2660513d4d006e4f62bd (diff)
downloadbase-e2376d42e488aec4b37b55a00098fda0d048bbf1.tar.gz
DO NOT SUBMIT: Don't ever show the build number.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:252407fd77fcb126834be02233b799b230ee2c6e) Merged-In: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0 Change-Id: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java b/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java
index 61905ae00be8..923202280960 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSFooterView.java
@@ -42,6 +42,8 @@ import com.android.systemui.R;
* {@link FooterActionsView}
*/
public class QSFooterView extends FrameLayout {
+ private static final boolean SHOW_BUILD = false;
+
private PageIndicator mPageIndicator;
private TextView mBuildText;
private View mEditButton;
@@ -84,7 +86,7 @@ public class QSFooterView extends FrameLayout {
}
private void setBuildText() {
- if (mBuildText == null) return;
+ if (!SHOW_BUILD || mBuildText == null) return;
if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)) {
mBuildText.setText(mContext.getString(
com.android.internal.R.string.bugreport_status,
@@ -188,4 +190,4 @@ public class QSFooterView extends FrameLayout {
private void updateVisibilities() {
mBuildText.setVisibility(mExpanded && mShouldShowBuildText ? View.VISIBLE : View.INVISIBLE);
}
-} \ No newline at end of file
+}