diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java index 866b1b8cabb2f..d3f8db38fd594 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java @@ -247,10 +247,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);