summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2022-06-21 12:59:12 +0800
committer Rhed Jao <rhedjao@google.com> 2022-06-23 13:22:46 +0800
commit3cae08367a82e34baa6c3fd78276e20b836af282 (patch)
tree5ad0e23dccea19e79fb898dfe358cd522ec7ed58 /api/api.go
parentbdfb8336a59bc87abaf1f7ed2b48fa9ce8c724d3 (diff)
Fix a side channel leakage for the pm#getLaunchIntentSenderForPackage
am#isIntentSenderTargetedToPackage returns false if the target intent data has a non-null package name and a non-null component name. This condition hits the successful case of the pm#getLaunchIntentSenderForPackage api, and the application can detect package's existence information via both apis. Removes the package name from the target intent if the lauch intent is found for the package to fix the issue. Bug: 228450093 Test: atest AppEnumerationInternalTests Test: atest PackageManagerTest Change-Id: I5ec66827eae2a2416e0332694affd2f613a5e965
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions