diff options
| author | 2024-12-08 02:44:31 +0000 | |
|---|---|---|
| committer | 2024-12-08 02:44:31 +0000 | |
| commit | 20b229794ace3f58d5ec791a57e48362da319dd1 (patch) | |
| tree | c78012c7357c51cb6bd7aafe470d0992e2827d9e /tools/preload/WritePreloadedClassFile.java | |
| parent | 3b75ae356d470754e4e47485f9bb62ffd9577818 (diff) | |
Fix missing creator token issue due to same intent added twice as extra intent
If the same object is added more than one time to a top level intent
as extra intent, but with different keys, collectExtraIntentKeys()
method would only collect one of the keys because it considers the
second intent as a duplicate and not handling it again. If later,
the app retrieves the intent through the second key and tries to
launch it, this would result as a failure due to missing token error.
To fix it, we should still collect the key even if the intent is a
duplicate; we just have to not handle the intent recursively when
we detect it as a duplicate.
Bug: 382863447
Test: manual
Flag: EXEMPT bug fix
Change-Id: Id3cbf15ef1902167ef52068b27765b4aa942ab8b
Diffstat (limited to 'tools/preload/WritePreloadedClassFile.java')
0 files changed, 0 insertions, 0 deletions