diff options
author | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-02-10 02:50:12 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-12 13:30:23 -0800 |
commit | 9fdfca4a0d725d2d9b5d924156def3b6c54686f6 (patch) | |
tree | fefdc4444bfd735c2356edbd9041565a07ca5e7f /packages/SystemUI | |
parent | 6deab5df979ee6881ea114a21b0d52316cfc89e5 (diff) | |
download | frameworks_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.java | 4 |
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(); } } |