question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Syncthing is running" notification is not dismissable

See original GitHub issue

This notification is built with .setOngoing(true). The documentation for NotificationBuilder.setOngoing(boolean) is as follows at the time of submission:

Set whether this is an “ongoing” notification. Ongoing notifications cannot be dismissed by the user, so your application or service must take care of canceling them. They are typically used to indicate a background task that the user is actively engaged with (e.g., playing music) or is pending in some way and therefore occupying the device (e.g., a file download, sync operation, active network connection).

This doesn’t seem to be an appropriate use case for an “ongoing” notification, since the background service is merely waiting to receive updates from other connected devices or local file changes by the user. The user is not actively engaged in any way, and the SyncthingService is barely occupying the resources of the device unless a sync operation happens to be underway (which would be an appropriate use of an “ongoing” notification).

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Nutomiccommented, Jul 8, 2015

I didn’t know we have bunnies in our userbase, glad to help the animal realm 😄

Thanks for the donation, still gotta figure out how Bountysource works.

0reactions
Nutomiccommented, Dec 19, 2017

If you’re using Android 8, you can change it by long clicking the notification.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable "Syncthing is running" notification on Android?
Ideally, I'd like to receive important notifications from Syncthing on my phone, but I don't need a permanent reminder that “Syncthing is ......
Read more >
Syncthing without persistent notification in Android? - Reddit
Hold down on it and silence that particular notification. To keep it running without dying, disable battery optimization for the app to allow...
Read more >
Notification is not being dismissed (Android) - Stack Overflow
use this flag: Notification.FLAG_AUTO_CANCEL inside this: int flags = Notification.FLAG_AUTO_CANCEL; Notification notification ...
Read more >
[APP][2.2+][05 Oct. - V2.4] BetterBatteryStats - XDA Forums
I can open BBS but I see no notification anymore. ... VPNs, Syncthing, apps that need to constantly run in the background are...
Read more >
How to Run iTunes 24/7 as a Windows Service with AlwaysUp
For example, run a script prior to starting, send email alerts, boost priority, and much more. iTunes not working properly as a Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found