mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +00:00
Make PendingIntent flag immutable
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
0f8830df89
commit
c13d23bda2
@ -218,7 +218,7 @@ class ChatAndCallMessagingService : FirebaseMessagingService() {
|
|||||||
0,
|
0,
|
||||||
fullScreenIntent,
|
fullScreenIntent,
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||||
PendingIntent.FLAG_MUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
|
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
|
||||||
} else {
|
} else {
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT
|
PendingIntent.FLAG_UPDATE_CURRENT
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user