[2/3] Re-introduce custom charging on/off sounds
PS2: some code tidying, remove unused imports PS3: explicit check for silent ringtone. playing the ringtone "silent" actually makes noise on android 7.1. Squash of: Author: Sam Mortimer <sam@mortimer.me.uk> Date: Mon Mar 18 18:24:07 2013 -0700 [1/2] Forward port power connect/disconnect notification support Original commit info: [1/2] Power connect/disconnect notification support part 1/2: frameworks/base PowerUI and Settings http://review.cyanogenmod.org/#/c/35241/ part 2/2: packages/apps/Settings Sound settings http://review.cyanogenmod.org/#/c/35242/ V-Old_Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068 OldChange-Id: Ib865e1c296cb8e1d957b2a48616c88ceaba5c008 Change-Id: I5db20ef23bdb644e2af06e8dcbc8fbd0cf7ce321 Author: Gianmarco Reverberi <gianmarco.reverberi@gmail.com> Date: Sun Nov 8 22:02:10 2015 +0100 SystemUI: fix notification on charger Change-Id: I92382d556f6224f46beb211bfa0c4a22f2179683 Author: Michael Bestas <mikeioannina@cyanogenmod.org> Date: Wed Feb 10 02:50:12 2016 +0200 SystemUI: Switch to AOSP CHARGING_SOUNDS_ENABLED Change-Id: Ia2fe8cbce18a505b7137f17657f35359a4c0bdb6 Author: Petr Sedlacek <petr@sedlacek.biz> Date: Fri Feb 6 21:55:30 2015 +0100 Frameworks: follow charging notification settings also for wireless charging Originally, system would play a fixed notification sound when wireless charging starts from com.android.server.power.Notifier.java regardless of the Charging sounds settings. This removes the notification from Notifier.java which means the system will notify about wireless charging in the same (configurable) way as for normal wired charging. Change-Id: I034fc95f8ac3554ef1d463ac94bebd5a448e1a3f Change-Id: I7c5654d55245ec7056bd1f0fdb88000ab09fc044
Loading
Please register or sign in to comment