From 9fdfca4a0d725d2d9b5d924156def3b6c54686f6 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 10 Feb 2016 02:50:12 +0200 Subject: SystemUI: Switch to AOSP CHARGING_SOUNDS_ENABLED Change-Id: Ia2fe8cbce18a505b7137f17657f35359a4c0bdb6 --- packages/SystemUI/src/com/android/systemui/power/PowerUI.java | 4 ++-- 1 file 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(); } } -- cgit v1.1