diff options
| author | 2018-08-07 15:02:17 -0600 | |
|---|---|---|
| committer | 2018-08-16 16:39:52 +0000 | |
| commit | 3a701f90e93472011d1be9b590de0234ec8f8a84 (patch) | |
| tree | aa08ba29f7df01ceb11b341ae091c59a085fe0ca /libs/hwui/ProgramCache.cpp | |
| parent | 48a49c740e0a8c615433081463bd359a219a8c14 (diff) | |
DO NOT MERGE. Persistable Uri grants still require permissions.
When FLAG_GRANT_PERSISTABLE_URI_PERMISSION is requested, we still
need to check permissions between the source and target packages,
instead of shortcutting past them.
The spirit of the original change is remains intact: if the caller
requested FLAG_GRANT_PERSISTABLE_URI_PERMISSION, then we avoid
returning "-1", which would prevent the grant data structure from
being allocated.
Bug: 111934948
Test: atest android.appsecurity.cts.AppSecurityTests
Change-Id: Ief0fc922aa09fc3d9bb6a126c2ff5855347cd030
Merged-In: Ief0fc922aa09fc3d9bb6a126c2ff5855347cd030
(cherry picked from commit d6a6e7127cc341ca875d9d13cf7a864d9f20b479)
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions