diff options
| author | 2024-05-01 07:03:10 +0000 | |
|---|---|---|
| committer | 2024-06-04 21:14:02 +0000 | |
| commit | 9d1f84235ca6a1565d7ea1a1df2e28fd78809969 (patch) | |
| tree | 2888dda3a4f3355b3841ca4bd9e3a4ed4d656612 /libs/androidfw/StringPool.cpp | |
| parent | 2246bcc52e89d961d8d8d9bbaf708b44d1557ec8 (diff) | |
Simplify and fix resolveIntent implementation
- `exportOnly` is false only when resolving on behalf of system_server,
which is automatically handled in `filterNonExportedComponents`, so
there is no need to additionally pass this boolean.
- `resolveIntentExported` is unnecessary as functionality is duplicated
- PM#resolveIntent() should follow normal intent resolving process and
return the correct Activity. The implementation before this CL is
incorrect (`exportOnly` is set to false).
Test: TH
Change-Id: I01b3295295b4b2dbdced54971b525aaa6126ed01
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions