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
|
@ -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…
Reference in New Issue