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:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user