aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-11-12 17:33:24 +0100
committeriNPUTmice <daniel@gultsch.de>2014-11-12 17:33:24 +0100
commit5048297b8c3a71337650b2a443f92621967e9370 (patch)
tree39f4cebcd95a24e0471d1ac915da86c23f248cd7
parentc8bc075cbc75ed50b6f4bca35d4aad67c89c4e40 (diff)
added low priority and removed date in foreground noticficationfeature/foreground_service
-rw-r--r--src/main/java/eu/siacs/conversations/services/NotificationService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java
index ec1ffc15..11b88538 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();
}
}