mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Separate group also for the persistent notification
Without this, when receiving a new notification on phones with ambient display the notification shown there is the persistent notification instead of the new notification received.
This commit is contained in:
parent
29aebe0888
commit
c1d73427ef
@ -298,6 +298,7 @@ public class BackgroundService extends Service {
|
||||
.setPriority(NotificationCompat.PRIORITY_MIN) //MIN so it's not shown in the status bar before Oreo, on Oreo it will be bumped to LOW
|
||||
.setShowWhen(false)
|
||||
.setAutoCancel(false);
|
||||
notification.setGroup("BackgroundService");
|
||||
|
||||
ArrayList<String> connectedDevices = new ArrayList<>();
|
||||
for (Device device : getDevices().values()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user