summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.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:26:00 +0000
commitd6a6e7127cc341ca875d9d13cf7a864d9f20b479 (patch)
tree89c97ce5163f1fc94d7bf5190f137f30fce00fba /tools/aapt2/java/JavaClassGenerator_test.cpp
parent97229ed3e8090c2f5cd3eabe6df5bcf841b832c1 (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_test.cpp')
0 files changed, 0 insertions, 0 deletions