mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-14 07:08:00 -05:00
Specify that our notifications use the Notification audio stream.
This commit is contained in:
parent
6a5b3b8a7f
commit
d5b128e8cf
@ -29,6 +29,7 @@ import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.media.AudioManager;
|
||||
import android.net.Uri;
|
||||
import android.os.PowerManager;
|
||||
import android.os.Process;
|
||||
@ -4497,6 +4498,7 @@ public class MessagingController implements Runnable
|
||||
notif.ledARGB = K9.NOTIFICATION_LED_COLOR;
|
||||
notif.ledOnMS = K9.NOTIFICATION_LED_ON_TIME;
|
||||
notif.ledOffMS = K9.NOTIFICATION_LED_OFF_TIME;
|
||||
notif.audioStreamType = AudioManager.STREAM_NOTIFICATION;
|
||||
|
||||
notifMgr.notify(account.getAccountNumber(), notif);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user