summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-08-07 15:02:17 -0600
committerJeff Sharkey <jsharkey@google.com>2018-08-07 22:25:13 +0000
commit05519b7e3d0f3d16ddfe6ee3892c8468a2c10c62 (patch)
tree9309ca9463eb4e7e8b6c313e34655b68c7d13d33 /tools/aapt2/java/JavaClassGenerator.cpp
parent515700b4feb35ac615c8ca38165f629a67c4d99f (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions