"Syncthing is running" notification is not dismissable
See original GitHub issueThis 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:
- Created 8 years ago
- Comments:19 (9 by maintainers)
Top GitHub Comments
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.
If you’re using Android 8, you can change it by long clicking the notification.