2
0
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:
Albert Vaca Cintora 2023-04-13 19:10:02 +02:00
parent 64b32003cc
commit 4c6cda711f

View File

@ -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");