mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 19:36:50 +01:00
Make screenshot notifications high priority
This commit is contained in:
parent
b3db9b7768
commit
5df25effba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user