summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-10 02:50:12 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-12 13:30:23 -0800
commit9fdfca4a0d725d2d9b5d924156def3b6c54686f6 (patch)
treefefdc4444bfd735c2356edbd9041565a07ca5e7f /packages/SystemUI
parent6deab5df979ee6881ea114a21b0d52316cfc89e5 (diff)
downloadframeworks_base-9fdfca4a0d725d2d9b5d924156def3b6c54686f6.zip
frameworks_base-9fdfca4a0d725d2d9b5d924156def3b6c54686f6.tar.gz
frameworks_base-9fdfca4a0d725d2d9b5d924156def3b6c54686f6.tar.bz2
SystemUI: Switch to AOSP CHARGING_SOUNDS_ENABLED
Change-Id: Ia2fe8cbce18a505b7137f17657f35359a4c0bdb6
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/power/PowerUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
index a1a11ca..e519e34 100644
--- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
+++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
@@ -237,8 +237,8 @@ public class PowerUI extends SystemUI {
if (mIgnoreFirstPowerEvent) {
mIgnoreFirstPowerEvent = false;
} else {
- if (CMSettings.Global.getInt(cr,
- CMSettings.Global.POWER_NOTIFICATIONS_ENABLED, 0) == 1) {
+ if (Settings.Global.getInt(cr,
+ Settings.Global.CHARGING_SOUNDS_ENABLED, 0) == 1) {
playPowerNotificationSound();
}
}