summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Reema Bajwa <reemabajwa@google.com> 2024-02-26 18:27:06 +0000
committer Reema Bajwa <reemabajwa@google.com> 2024-02-27 00:24:32 +0000
commitcc93a4505b924a049b617f7e5579e2af4dcbee82 (patch)
tree1243d116af7f8644ec209c77370f1114c56e5271 /libs/androidfw/FileStream.cpp
parent2cd1ebbd75c741c9d4474fdad532fa612fd5a427 (diff)
Fix more options crash
Before this fix, the pending intent was created in the Systenm Server and a fillInIntent was created in the CredentialAutofillService. This intent carried icons which could be of type bitmap too. This caused a crash when invoking startIntentSender from the AutofillManager because it is not possible to crete an intent with a bitmap in one process and invoke it from another (cannot write file descriptor). With this fix, the System Server only passes an intent with the request Info. A pending intent per autofillId is genrated in CredentialAutofillService and the underlying intent with which the pending intent is created contains the icons. Test: Cts Bug: 325008438 Change-Id: Ic46984fed6cea0fd2e4af69e5d6dee82cdfc1d20
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions