Merge "Move the low battery sound to the notification stream." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
81034187a3
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user