Merge "Make DND tile primary toggle remember favorite zen" into oc-dev
am: 463985178c
Change-Id: Iefa8e2707df45004a5ac37094ee93f1fac4721e9
This commit is contained in:
@@ -140,7 +140,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user