Migrates to the new resolveContentProvider api
The original resolveContentProvider api gets the caller's uid using the Binder#getCallingUid. That may cause the package information disclosure issue if the caller has cleared the calling identify. This cl migrates the callers of resolveContentProvider to use the new one with a calling uid parameter. The caller could pass the correct caller's uid to use the api. Bug: 192354703 Test: atest UriGrantsManagerServiceTest Test: atest UriPermissionTest Test: atest ContextTest Change-Id: I153df4e77642f0622c7f0f5804639795e90ded21
Loading
Please register or sign in to comment