commit | 85ef51a7a91de0e51dd65ce5f09badcd96835817 | [log] [tgz] |
---|---|---|
author | oli <olit@google.com> | Tue Jan 28 16:32:40 2025 +0000 |
committer | Oli Thompson <olit@google.com> | Tue Jan 28 08:40:59 2025 -0800 |
tree | 8ae81ad4cc518382d9e5b62f2b06fbe40fbc79d1 | |
parent | 6d0afa6953e797c7157fb49f57e4d00e1426d316 [diff] |
Check underlying intent as well as intent selector When checking if an intent can be forwarded across profiles, the selector action is checked rather than the intent itself. This means badIntents can be spoofed with a different selector and launched across profiles. Bug: 376674080 Test: manually tested Flag: EXEMPT bugfix Change-Id: I744d0d7f89e35665405a14a814d4e0861082a106
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder