2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Re-add missing setContentIntent

Removed by mistake in d09ad45e11
This commit is contained in:
Albert Vaca Cintora
2023-05-26 20:02:26 +02:00
parent 38edbd260a
commit 1e904fcbfa

View File

@@ -401,6 +401,7 @@ public class Device implements BaseLink.PacketReceiver {
.setContentText(res.getString(R.string.pairing_verification_code, verificationKeyShort))
.setTicker(res.getString(R.string.pair_requested))
.setSmallIcon(R.drawable.ic_notification)
.setContentIntent(pendingIntent)
.addAction(R.drawable.ic_accept_pairing_24dp, res.getString(R.string.pairing_accept), acceptedPendingIntent)
.addAction(R.drawable.ic_reject_pairing_24dp, res.getString(R.string.pairing_reject), rejectedPendingIntent)
.setAutoCancel(true)