Merge "Fix disable flag in QSBH" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c09887ba23
@@ -241,10 +241,9 @@ public class QuickStatusBarHeader extends FrameLayout {
|
|||||||
boolean shouldUseSplitShade =
|
boolean shouldUseSplitShade =
|
||||||
resources.getBoolean(R.bool.config_use_split_notification_shade);
|
resources.getBoolean(R.bool.config_use_split_notification_shade);
|
||||||
|
|
||||||
mStatusIconsView.setVisibility(
|
boolean gone = shouldUseSplitShade || mUseCombinedQSHeader || mQsDisabled;
|
||||||
shouldUseSplitShade || mUseCombinedQSHeader ? View.GONE : View.VISIBLE);
|
mStatusIconsView.setVisibility(gone ? View.GONE : View.VISIBLE);
|
||||||
mDatePrivacyView.setVisibility(
|
mDatePrivacyView.setVisibility(gone ? View.GONE : View.VISIBLE);
|
||||||
shouldUseSplitShade || mUseCombinedQSHeader ? View.GONE : View.VISIBLE);
|
|
||||||
|
|
||||||
mConfigShowBatteryEstimate = resources.getBoolean(R.bool.config_showBatteryEstimateQSBH);
|
mConfigShowBatteryEstimate = resources.getBoolean(R.bool.config_showBatteryEstimateQSBH);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user