From 7b51d8f3555fcc43c2ad88f43b68d0520c97d330 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 4 Jul 2014 13:28:34 +0200 Subject: [PATCH] Use minimum priority for ongoing notification. --- .../com/nutomic/syncthingandroid/syncthing/SyncthingService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index 23926eac..a37f6681 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -299,6 +299,7 @@ public class SyncthingService extends Service { .setContentTitle(getString(R.string.app_name)) .setSmallIcon(R.drawable.ic_launcher) .setContentIntent(pi) + .setPriority(NotificationCompat.PRIORITY_MIN) .build(); n.flags |= Notification.FLAG_ONGOING_EVENT; startForeground(NOTIFICATION_RUNNING, n);