From 8e0e81a6039930d245928689c34570781bdc455e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 24 Feb 2017 19:59:13 +0100 Subject: [PATCH] bump notification priority to high as per android design guidelines --- .../eu/siacs/conversations/services/NotificationService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 7be86a58c..585429045 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -240,6 +240,7 @@ public class NotificationService { if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { mBuilder.setCategory(Notification.CATEGORY_MESSAGE); } + mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH); setNotificationColor(mBuilder); mBuilder.setDefaults(0); if (led) {