summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-02-10 09:22:04 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-11 11:43:50 -0800
commitc667383ef46d3ba00168731edbe90283baa8f3d2 (patch)
treeaadf3f88fd6ea993e7a7bc3c7fb8ea9e9df843e0 /packages/SystemUI/src
parent1bfb5ee767be258abf4be7c3981f55bc84db1072 (diff)
downloadframeworks_base-c667383ef46d3ba00168731edbe90283baa8f3d2.zip
frameworks_base-c667383ef46d3ba00168731edbe90283baa8f3d2.tar.gz
frameworks_base-c667383ef46d3ba00168731edbe90283baa8f3d2.tar.bz2
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 d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f. Change-Id: I55af2c8194307590f70b2114d6fe5273f5a74528 Ref: CYNGNOS-1979
Diffstat (limited to 'packages/SystemUI/src')
-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 0cb9dcf..0d43f8c 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) {
- 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);