From bdc86bb8e3667acb4d3f59ece718dc763d59374f Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Wed, 12 Nov 2014 17:33:24 +0100 Subject: [PATCH] added low priority and removed date in foreground noticfication --- .../eu/siacs/conversations/services/NotificationService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index ec1ffc15c..11b885383 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -368,6 +368,8 @@ public class NotificationService { mBuilder.setContentTitle(mXmppConnectionService.getString(R.string.conversations_foreground_service)); mBuilder.setContentText(mXmppConnectionService.getString(R.string.touch_to_disable)); mBuilder.setContentIntent(createDisableForeground()); + mBuilder.setWhen(0); + mBuilder.setPriority(NotificationCompat.PRIORITY_MIN); return mBuilder.build(); } }