lets make those pendingintents mutable
This commit is contained in:
parent
bf2f4887ca
commit
fa83697473
2 changed files with 4 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ class SmsStatusSentReceiver : SentReceiver() {
|
|||
putExtra(THREAD_ID, threadId)
|
||||
}
|
||||
|
||||
val pendingIntent = PendingIntent.getActivity(context, threadId.hashCode(), intent, PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE)
|
||||
val pendingIntent = PendingIntent.getActivity(context, threadId.hashCode(), intent, PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE)
|
||||
val summaryText = String.format(context.getString(R.string.message_sending_error), recipientName)
|
||||
|
||||
val largeIcon = SimpleContactsHelper(context).getContactLetterIcon(recipientName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue