diff options
| author | 2022-01-14 15:18:01 +0000 | |
|---|---|---|
| committer | 2022-01-14 15:18:01 +0000 | |
| commit | c09887ba239b475ad6223f70ee2f797615ba4562 (patch) | |
| tree | 65722590093647cf5a46245737d8d81efa758e31 | |
| parent | d36f3eb79592b827e0823c6b8b46fd3d3c0f3a9f (diff) | |
| parent | eb12f81e4070459479535852cb2f21440a5406b4 (diff) | |
Merge "Fix disable flag in QSBH" into sc-v2-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java index 3bf8bee881d1..7400a75e755f 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java @@ -241,10 +241,9 @@ public class QuickStatusBarHeader extends FrameLayout { boolean shouldUseSplitShade = resources.getBoolean(R.bool.config_use_split_notification_shade); - mStatusIconsView.setVisibility( - shouldUseSplitShade || mUseCombinedQSHeader ? View.GONE : View.VISIBLE); - mDatePrivacyView.setVisibility( - shouldUseSplitShade || mUseCombinedQSHeader ? View.GONE : View.VISIBLE); + boolean gone = shouldUseSplitShade || mUseCombinedQSHeader || mQsDisabled; + mStatusIconsView.setVisibility(gone ? View.GONE : View.VISIBLE); + mDatePrivacyView.setVisibility(gone ? View.GONE : View.VISIBLE); mConfigShowBatteryEstimate = resources.getBoolean(R.bool.config_showBatteryEstimateQSBH); |