diff options
| author | 2022-06-23 15:02:03 +0800 | |
|---|---|---|
| committer | 2022-06-24 11:09:24 +0800 | |
| commit | 23e2ccbb195296cd8d4e6a78a3ec5047b79f5320 (patch) | |
| tree | 238cd7bd8cb43e0bf6abd6127de2fe40233a8e0e /libs/androidfw/StringPool.cpp | |
| parent | 14c60531bdb466fecd5688bde36dc7e107dc8b38 (diff) | |
Honor app visibility when get MIME type from ContentProvider
APIs getProviderMimeType and getProviderMimeTypeAsync from Activity-
ManagerService don't check whether the ContentProvider holder of the
given URI is visible to the callers.
Bug: 185126503
Bug: 185126713
Test: atest CtsContentTestCases
Test: atest CtsProviderTestCases
Test: manually using the PoC in the buganizer to ensure the symptom
no longer exists.
Change-Id: I73427c7909f56e51d7aabeebb1bfa841b5fd6ffe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions