Added a new api ContentProvider#getTypeAnonymous
- When an app is unable to acquire IContentProvider in contentResolver#getType, they can only call getTypeAnonymous via activityManagerService. - default getTypeUnchecked returns getType (to ensure less breaking) - getType calls are protected by readPermission. - updated logging of getType calls without readPermisison. Bug: b/161370118 Test: Build, manual test and logging Change-Id: Ia5fe69061de36ed70d93b30754d68b63ad791c83
Loading
Please register or sign in to comment