mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 05:17:43 +00:00
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
@ -79,7 +79,7 @@ class AutofillDecryptActivity : AppCompatActivity() {
|
|||||||
context,
|
context,
|
||||||
decryptFileRequestCode++,
|
decryptFileRequestCode++,
|
||||||
intent,
|
intent,
|
||||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||||
)
|
)
|
||||||
.intentSender
|
.intentSender
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ class AutofillDecryptActivityV2 : AppCompatActivity() {
|
|||||||
context,
|
context,
|
||||||
decryptFileRequestCode++,
|
decryptFileRequestCode++,
|
||||||
intent,
|
intent,
|
||||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||||
)
|
)
|
||||||
.intentSender
|
.intentSender
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ class AutofillFilterView : AppCompatActivity() {
|
|||||||
context,
|
context,
|
||||||
matchAndDecryptFileRequestCode++,
|
matchAndDecryptFileRequestCode++,
|
||||||
intent,
|
intent,
|
||||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||||
)
|
)
|
||||||
.intentSender
|
.intentSender
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ class AutofillPublisherChangedActivity : AppCompatActivity() {
|
|||||||
context,
|
context,
|
||||||
publisherChangedRequestCode++,
|
publisherChangedRequestCode++,
|
||||||
intent,
|
intent,
|
||||||
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE,
|
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||||
)
|
)
|
||||||
.intentSender
|
.intentSender
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ fun makeInlinePresentation(
|
|||||||
context,
|
context,
|
||||||
0,
|
0,
|
||||||
Intent(context, PasswordStore::class.java),
|
Intent(context, PasswordStore::class.java),
|
||||||
PendingIntent.FLAG_IMMUTABLE
|
PendingIntent.FLAG_MUTABLE
|
||||||
)
|
)
|
||||||
val slice =
|
val slice =
|
||||||
InlineSuggestionUi.newContentBuilder(launchIntent).run {
|
InlineSuggestionUi.newContentBuilder(launchIntent).run {
|
||||||
|
@ -119,7 +119,7 @@ class ClipboardService : Service() {
|
|||||||
this,
|
this,
|
||||||
0,
|
0,
|
||||||
clearIntent,
|
clearIntent,
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
val notification =
|
val notification =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user