mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-04-06 07:00:01 +03:00
Fix issue #402 - Silent notification
This commit is contained in:
parent
cfffd02779
commit
a15d0142d0
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ public class ComposeWorker extends Worker {
|
||||||
.setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_launcher_foreground))
|
.setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_launcher_foreground))
|
||||||
.setContentTitle(context.getString(R.string.post_message))
|
.setContentTitle(context.getString(R.string.post_message))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
|
.setSilent(true)
|
||||||
.setDefaults(NotificationCompat.DEFAULT_ALL)
|
.setDefaults(NotificationCompat.DEFAULT_ALL)
|
||||||
.setPriority(Notification.PRIORITY_HIGH);
|
.setPriority(Notification.PRIORITY_HIGH);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue