summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/volume
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-10-21 12:15:28 -0400
committerJohn Spurlock <jspurlock@google.com>2014-10-21 12:26:45 -0400
commit7bbb9f64103c297d1b9738339f3bfeed0f41030e (patch)
tree0d7ccdd1465b14c841389e914a9a79958fb047f8 /packages/SystemUI/src/com/android/systemui/volume
parenta9a550dd8e87b33979670cf856838ba227500547 (diff)
downloadframeworks_base-7bbb9f64103c297d1b9738339f3bfeed0f41030e.zip
frameworks_base-7bbb9f64103c297d1b9738339f3bfeed0f41030e.tar.gz
frameworks_base-7bbb9f64103c297d1b9738339f3bfeed0f41030e.tar.bz2
Sysui: Include shared prefs in service dump.
Also: - Remove obsolete Prefs helper. - Use common file for zen-mode prefs. Bug: 18062541 Change-Id: I9a6a4733eac0ec1c55da5d359c996cb5fe3bb8af
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/volume')
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
index ea431ae..d7552b6 100644
--- a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
+++ b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
@@ -690,7 +690,7 @@ public class ZenModePanel extends LinearLayout {
}
private SharedPreferences prefs() {
- return mContext.getSharedPreferences(ZenModePanel.class.getSimpleName(), 0);
+ return mContext.getSharedPreferences(mContext.getPackageName(), 0);
}
private void updateMinuteIndex() {