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

Commit 2c9148b7 authored by Ido Ben-Hur's avatar Ido Ben-Hur Committed by Michael Bestas
Browse files

SystemUI: Show the alarm icon on QS as well

They did their thing again and blocked it unless you use the new
QS header

Change-Id: I9cd1a1409df5755f4c1630416707b3ef46722ad6
parent 5cb55b05
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -117,8 +117,6 @@ class QuickStatusBarHeaderController extends ViewController<QuickStatusBarHeader
        mPrivacyIconsController.setChipVisibilityListener(this);
        mIconContainer.addIgnoredSlot(
                getResources().getString(com.android.internal.R.string.status_bar_managed_profile));
        mIconContainer.addIgnoredSlot(
                getResources().getString(com.android.internal.R.string.status_bar_alarm_clock));
        mIconContainer.setShouldRestrictIcons(false);
        mStatusBarIconController.addIconGroup(mIconManager);

+0 −7
Original line number Diff line number Diff line
@@ -282,13 +282,6 @@ class LargeScreenShadeHeaderController @Inject constructor(
            .setQSCarrierGroup(qsCarrierGroup)
            .build()

        if (!combinedHeaders) {
            // In the new header, we display alarm icon but we ignore it when not using the new
            // headers.
            iconContainer.addIgnoredSlot(
                    context.getString(com.android.internal.R.string.status_bar_alarm_clock)
            )
        }
        if (combinedHeaders) {
            privacyIconsController.onParentVisible()
        }