From f41499830784e59fee7cedd72686d78e7f4050c6 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 4 Mar 2017 21:19:55 +0100 Subject: [PATCH] use default priority notifications. disables heads up notifications --- .../eu/siacs/conversations/services/NotificationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index b93ce9e69..7302afb96 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -240,7 +240,7 @@ public class NotificationService { if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { mBuilder.setCategory(Notification.CATEGORY_MESSAGE); } - mBuilder.setPriority(notify ? NotificationCompat.PRIORITY_HIGH : NotificationCompat.PRIORITY_LOW); + mBuilder.setPriority(notify ? NotificationCompat.PRIORITY_DEFAULT : NotificationCompat.PRIORITY_LOW); setNotificationColor(mBuilder); mBuilder.setDefaults(0); if (led) {