Fix issue #402 - Silent notification

This commit is contained in:
Thomas 2022-11-05 11:39:39 +01:00
parent cfffd02779
commit a15d0142d0

View file

@ -458,6 +458,7 @@ public class ComposeWorker extends Worker {
.setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_launcher_foreground))
.setContentTitle(context.getString(R.string.post_message))
.setOngoing(true)
.setSilent(true)
.setDefaults(NotificationCompat.DEFAULT_ALL)
.setPriority(Notification.PRIORITY_HIGH);