Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 72fe3994 authored by Sam Mortimer's avatar Sam Mortimer
Browse files

Re-introduce custom charging on/off sounds

This is a squash of the following changes, updated for the new SDK:

  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: Gianmarco Reverberi <gianmarco.reverberi@gmail.com>
  Date:   Sun Nov 8 22:02:10 2015 +0100

    SystemUI: fix notification on charger
    Change-Id: I92382d556f6224f46beb211bfa0c4a22f2179683

  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

  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

Change-Id: I6028ee121afa13328c5caa38baffd951ea844027

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java
parent bf951c6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment