Explicitly set notification audio stream. Not sure if this is going to do anything, but can't hurt.

Tim Su 16 years ago
parent a0da7f975d
commit f36342e413

@ -453,6 +453,8 @@ public class Notifications extends BroadcastReceiver {
notification.audioStreamType = AudioManager.STREAM_ALARM;
audioManager.setStreamVolume(AudioManager.STREAM_ALARM,
audioManager.getStreamMaxVolume(AudioManager.STREAM_ALARM), 0);
} else {
notification.audioStreamType = AudioManager.STREAM_NOTIFICATION;
}
// quiet hours = no sound

Loading…
Cancel
Save