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

This commit is contained in:
Daniel Sandler
2011-02-03 09:47:45 -08:00
committed by Android (Google) Code Review

View File

@@ -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();
} }
} }