summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Nan Wu <wnan@google.com> 2024-11-06 20:46:14 +0000
committer Nan Wu <wnan@google.com> 2024-11-07 13:41:45 +0000
commit7f03381ea7abd560da14f3078c9436798b35f339 (patch)
treeb15ed37903514facb87608f6f5b4b714f8831b45 /api/coverage/tools
parent5ba04ee697f7d70ea4e30d072c974bfc6d950d44 (diff)
Fix missing token issue
Identified from b/377637684, apps could use Context.startActivityAsUser to start an activity. This method does not call intent.prepareToLeaveProcess before the IPC call and was not covered by our token generation logic from ag/29190483, which is causing a creator token missing issue. This CL added collectExtraIntentKeys call to cover the activity start invocation. Bug: 377637684 Test: manual test. FrameworksMockingServicesTests:ActivityManagerServiceTest FrameworksCoreTests:IntentTest Flag: android.security.prevent_intent_redirect Change-Id: I4555f3c648b65ff534a25dceac506885ca0169fa
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions