From 5df25effba22fb19d41a9a0e11aad045f6bce97c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Sun, 11 Jun 2023 17:31:12 +0100 Subject: [PATCH] Make screenshot notifications high priority --- .../gadgetbridge/service/AbstractDeviceSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/AbstractDeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/AbstractDeviceSupport.java index f6b462e30..a4d53ceb7 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/AbstractDeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/AbstractDeviceSupport.java @@ -406,7 +406,7 @@ public abstract class AbstractDeviceSupport implements DeviceSupport { NotificationCompat.Action action = new NotificationCompat.Action.Builder(android.R.drawable.ic_menu_share, "share", pendingShareIntent).build(); - Notification notif = new NotificationCompat.Builder(context, NOTIFICATION_CHANNEL_ID) + Notification notif = new NotificationCompat.Builder(context, NOTIFICATION_CHANNEL_HIGH_PRIORITY_ID) .setContentTitle("Screenshot taken") .setTicker("Screenshot taken") .setContentText(filename)