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
Loading
Please register or sign in to comment