summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThecrazyskull <anaskarbila@gmail.com>2015-11-23 20:02:24 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-01-02 11:41:54 -0800
commitd77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f (patch)
tree03bc772999a6538873ee5aadee3089c19f22c9de
parent536d7223a7f4eaccdb2e33ac93b57a9ee3bc6af4 (diff)
downloadframeworks_base-d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f.zip
frameworks_base-d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f.tar.gz
frameworks_base-d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f.tar.bz2
DndTile: Always open the detailed view
* Be consistent with the rest of the tiles that have detailed view Change-Id: I7cafeab7211fa080a5f49e6c3f335e672111a746
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
index 0d43f8c..0cb9dcf 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java
@@ -114,7 +114,7 @@ public class DndTile extends QSTile<QSTile.BooleanState> {
mDisableTotalSilence.setAllowAnimation(true);
MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
if (mState.value) {
- mController.setZen(Global.ZEN_MODE_OFF, null, TAG);
+ showDetail(true);
} else {
int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS);
mController.setZen(zen, null, TAG);