diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-12 17:33:24 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-15 15:34:34 +0100 |
commit | bdc86bb8e3667acb4d3f59ece718dc763d59374f (patch) | |
tree | 2705a32179a2112bd6d9d9b425ffb22db7b42ba6 /src/main/java/eu | |
parent | 3c6b3506e32979b80dc2a8163437ecbab16b8acb (diff) |
added low priority and removed date in foreground noticfication
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/NotificationService.java | 2 |
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(); } } |