Skip to content
Commit 75890e51 authored by Rhed Jao's avatar Rhed Jao
Browse files

Enforce package visibility to the api checkUriPermission

App can query which applications are installed on the device via
api grantUriPermission and checkUriPermission. This cl enforces
package visibility filter to the api checkUriPermission to fix
the security issue.

Bug: 180019130
Test: atest AppEnumerationTests
Test: atest CtsProviderTestCases
Test: atest UriGrantsManagerServiceTest
Test: atest UriPermissionTest
Test: atest ContentProviderTest
Test: atest ContentResolverTest
Test: atest DownloadManagerTest
Test: atest MediaProviderTest
Change-Id: Iea2f2d8a83cbdef18592cb7cb5a8493b1a1f5362
parent 4a762bc6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment