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

Enforce package visibility filters to grantUriPermission()

App can query which applications are installed on the device via
Context#grantUriPermission. This cl enforces package visibility filters
to the api to fix the security issue.

Bug: 207133709
Test: atest AppEnumerationTests
Test: atest ContextTest
Test: atest DownloadManagerTest
Test: atest CtsScopedStorageHostTest
Test: atest CtsScopedStorageDeviceOnlyTest
Test: atest CtsScopedStorageCoreHostTest
Test: atest CtsJobSchedulerSharedUidTestCases
Test: atest SQLiteTest
Test: atest AppSecurityTests
Test: atest CtsMediaProviderTranscodeTests
Test: atest ExternalStorageHostTest
Change-Id: Ic8ed5f2fb46b8de605bd091a2a62d8070e28a1eb
parent b77d15fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment