mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Fix "find my phone" notification being dismissable
Dismissing the notification caused the alarm to keep playing without a way to stop it. BUG: 446349
This commit is contained in:
parent
64b32003cc
commit
4c6cda711f
@ -151,6 +151,7 @@ public class FindMyPhonePlugin extends Plugin {
|
||||
.setFullScreenIntent(pendingIntent, true)
|
||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||
.setAutoCancel(true)
|
||||
.setOngoing(true)
|
||||
.setContentTitle(context.getString(R.string.findmyphone_found));
|
||||
notification.setGroup("BackgroundService");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user