1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-26 12:51:28 +00:00

Use minimum priority for ongoing notification.

This commit is contained in:
Felix Ableitner 2014-07-04 13:28:34 +02:00
parent dfc589d714
commit 7b51d8f355

View file

@ -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);