From a15d0142d061e5b2bd1844c00580203c1d8cd371 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 5 Nov 2022 11:39:39 +0100 Subject: [PATCH] Fix issue #402 - Silent notification --- app/src/main/java/app/fedilab/android/jobs/ComposeWorker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/app/fedilab/android/jobs/ComposeWorker.java b/app/src/main/java/app/fedilab/android/jobs/ComposeWorker.java index 74cb5386..f8c7643e 100644 --- a/app/src/main/java/app/fedilab/android/jobs/ComposeWorker.java +++ b/app/src/main/java/app/fedilab/android/jobs/ComposeWorker.java @@ -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);