summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2021-03-22 03:18:50 +0000
committerHai Zhang <zhanghai@google.com>2021-03-22 04:36:42 +0000
commit553fc4297c54eb0dac8dce49fbf3fc477660853f (patch)
tree3723583f41a8f3dc81dd5c8e3833a4d4f07aa011 /tools/aapt2/java/JavaClassGenerator.cpp
parenta95de94fd4f8260991e9934c733d6bfba8dd1fa3 (diff)
Fix all runtime permissions being considered changing protection from
non-runtime on first boot. 1. Don't check against a newly created permission object, as it will always have signature protection and be considered non-runtime. 2. "Placeholder" permissions of TYPE_CONFIG shouldn't count as an existing permission, as they are only used for assigning GIDs. Bug: 183304624 Test: manual Test: atest PermissionEscalationTest (from ag/12980961) Change-Id: I39055a914a8575c754a3a4def2b2a31071605986
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions