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:
parent
dfc589d714
commit
7b51d8f355
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue