app: make Autofill intents mutable (#1682)
Fixes: b8ce4f314538 ("app: add `PendingIntent.FLAG_IMMUTABLE` flag where required")
This commit is contained in:
parent
d838b7da59
commit
dba86c2a53
6 changed files with 6 additions and 6 deletions
|
@ -79,7 +79,7 @@ class AutofillDecryptActivity : AppCompatActivity() {
|
|||
context,
|
||||
decryptFileRequestCode++,
|
||||
intent,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||
)
|
||||
.intentSender
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ class AutofillDecryptActivityV2 : AppCompatActivity() {
|
|||
context,
|
||||
decryptFileRequestCode++,
|
||||
intent,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||
)
|
||||
.intentSender
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ class AutofillFilterView : AppCompatActivity() {
|
|||
context,
|
||||
matchAndDecryptFileRequestCode++,
|
||||
intent,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||
)
|
||||
.intentSender
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ class AutofillPublisherChangedActivity : AppCompatActivity() {
|
|||
context,
|
||||
publisherChangedRequestCode++,
|
||||
intent,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||
)
|
||||
.intentSender
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ fun makeInlinePresentation(
|
|||
context,
|
||||
0,
|
||||
Intent(context, PasswordStore::class.java),
|
||||
PendingIntent.FLAG_IMMUTABLE
|
||||
PendingIntent.FLAG_MUTABLE
|
||||
)
|
||||
val slice =
|
||||
InlineSuggestionUi.newContentBuilder(launchIntent).run {
|
||||
|
|
|
@ -119,7 +119,7 @@ class ClipboardService : Service() {
|
|||
this,
|
||||
0,
|
||||
clearIntent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE
|
||||
)
|
||||
}
|
||||
val notification =
|
||||
|
|
Loading…
Reference in a new issue