summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/power
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-10-18 15:38:14 -0700
committerJeff Sharkey <jsharkey@android.com>2012-10-18 15:38:14 -0700
commit8d9a1f66d9d3dbbd45a56d441a746ec11dba7645 (patch)
treee4d94bba0ca89fade118384202ac15d0cf7e03f5 /packages/SystemUI/src/com/android/systemui/power
parentb98c2fb0998b2ad6bffe9c06dd358ba4705eaa4b (diff)
downloadframeworks_base-8d9a1f66d9d3dbbd45a56d441a746ec11dba7645.zip
frameworks_base-8d9a1f66d9d3dbbd45a56d441a746ec11dba7645.tar.gz
frameworks_base-8d9a1f66d9d3dbbd45a56d441a746ec11dba7645.tar.bz2
More migration to Global settings.
Bug: 7375796 Change-Id: I3954ce141ad30073896090a28eee743ba15fd736
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/power')
-rw-r--r--packages/SystemUI/src/com/android/systemui/power/PowerUI.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
index 07fd0ab..318448e 100644
--- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
+++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
@@ -237,9 +237,9 @@ public class PowerUI extends SystemUI {
}
final ContentResolver cr = mContext.getContentResolver();
- if (Settings.System.getInt(cr, Settings.System.POWER_SOUNDS_ENABLED, 1) == 1) {
- final String soundPath = Settings.System.getString(cr,
- Settings.System.LOW_BATTERY_SOUND);
+ if (Settings.Global.getInt(cr, Settings.Global.POWER_SOUNDS_ENABLED, 1) == 1) {
+ final String soundPath = Settings.Global.getString(cr,
+ Settings.Global.LOW_BATTERY_SOUND);
if (soundPath != null) {
final Uri soundUri = Uri.parse("file://" + soundPath);
if (soundUri != null) {