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 Test: atest ManagedProfileCrossProfileTest Change-Id: Ic19caef7f3f221b9c35afe2805336e50d838cf26
Loading
Please register or sign in to comment