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

* commit '81034187a34c7c6432e62d2dc2332e987ce4f5db':
  Move the low battery sound to the notification stream.
This commit is contained in:
Daniel Sandler
2011-02-03 09:50:27 -08:00
committed by Android Git Automerger

View File

@@ -227,7 +227,7 @@ public class PowerUI extends SystemUI {
if (soundUri != null) {
final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri);
if (sfx != null) {
sfx.setStreamType(AudioManager.STREAM_SYSTEM);
sfx.setStreamType(AudioManager.STREAM_NOTIFICATION);
sfx.play();
}
}