summaryrefslogtreecommitdiff
path: root/libs/androidfw/Asset.cpp
diff options
context:
space:
mode:
author Nan Wu <wnan@google.com> 2025-03-07 14:18:23 +0000
committer Nan Wu <wnan@google.com> 2025-03-08 19:29:09 -0800
commitaa68eb995a1a5ed9830c4a14a49aa22c4901f451 (patch)
tree55c1ba4612dcec664e02b7561c1f863ac632091b /libs/androidfw/Asset.cpp
parent9e3d8610faf7c77c705fa72811a6fc9da31ea2b9 (diff)
Fix collect extra intent keys on server
Previously, when keys are collected on the client side, intent is marked as keys are collected as long as the bundle is unparceled. But it is still possible that a Parcelable value is still parceled. In such a case, if the Parcelable happens to be an intent, its key is not collected, but the intent is marked as keys are collected. As a result, the server side also won't try to collect it. To fix it, remove the mark if there is any unparceled value. Also, if the mExtras is null or definitely empty without having to unparcel the bundle and check, mark the intent as keys are collected. Bug: 390317645 Test: manual Flag: EXEMPT bugfix Change-Id: I0e4bad042063c995364a4ba829cfc556b4698973
Diffstat (limited to 'libs/androidfw/Asset.cpp')
0 files changed, 0 insertions, 0 deletions