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

Commit aa6c28a0 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Make DND tile primary toggle remember favorite zen" into oc-dev am: 46398517

am: df8c9181

Change-Id: I27f8a61c638ab63f6b0960884e60b8bed35df812
parents 70329318 df8c9181
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -132,7 +132,8 @@ public class DndTile extends QSTileImpl<BooleanState> {
        if (mState.value) {
            mController.setZen(ZEN_MODE_OFF, null, TAG);
        } else {
            mController.setZen(ZEN_MODE_ALARMS, null, TAG);
            int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS);
            mController.setZen(zen, null, TAG);
        }
    }