diff options
| author | 2023-02-13 14:44:16 +0000 | |
|---|---|---|
| committer | 2023-02-17 18:20:24 +0000 | |
| commit | 0ec406570d05cfe01db6da72b15b1282cfb794e6 (patch) | |
| tree | d199a9896936488ebf46cdb97567c0ad15603891 /libs/androidfw/ApkParsing.cpp | |
| parent | 4526d3fb6fc9672e0d1cbbd620292a7af421cb02 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions