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

Commit c667383e authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

Revert "DndTile: Always open the detailed view"

There is a CTS Verifier test which explicitly says "Please disable 'Do not disturb' by tapping the Quick Settings tile."

This commit breaks this expectation.

This reverts commit d77070c2.

Change-Id: I55af2c8194307590f70b2114d6fe5273f5a74528
Ref: CYNGNOS-1979
parent 1bfb5ee7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ public class DndTile extends QSTile<QSTile.BooleanState> {
        mDisableTotalSilence.setAllowAnimation(true);
        MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
        if (mState.value) {
            showDetail(true);
            mController.setZen(Global.ZEN_MODE_OFF, null, TAG);
        } else {
            int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS);
            mController.setZen(zen, null, TAG);