mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Fix "PendingIntents attached to actions with remote inputs must be mutable"
Room notifications are now working on Android 12 emulator
This commit is contained in:
parent
8d8565ca63
commit
dddcbfbe7d
1 changed files with 2 additions and 1 deletions
|
@ -818,7 +818,8 @@ class NotificationUtils @Inject constructor(private val context: Context,
|
|||
context,
|
||||
System.currentTimeMillis().toInt(),
|
||||
intent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntentCompat.FLAG_IMMUTABLE
|
||||
// PendingIntents attached to actions with remote inputs must be mutable
|
||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntentCompat.FLAG_MUTABLE
|
||||
)
|
||||
} else {
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue