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

Commit 62362af8 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

am 81034187: Merge "Move the low battery sound to the notification stream." into honeycomb

* commit '81034187':
  Move the low battery sound to the notification stream.
parents d13f987f 81034187
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -227,7 +227,7 @@ public class PowerUI extends SystemUI {
                if (soundUri != null) {
                if (soundUri != null) {
                    final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri);
                    final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri);
                    if (sfx != null) {
                    if (sfx != null) {
                        sfx.setStreamType(AudioManager.STREAM_SYSTEM);
                        sfx.setStreamType(AudioManager.STREAM_NOTIFICATION);
                        sfx.play();
                        sfx.play();
                    }
                    }
                }
                }