Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c09887ba authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Fix disable flag in QSBH" into sc-v2-dev

parents d36f3eb7 eb12f81e
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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);