summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2019-04-12 16:19:26 -0700
committerWinson <chiuwinson@google.com>2019-04-15 15:31:39 -0700
commit1201ca70548fad85627eb5d303a5f8b3e674b243 (patch)
tree9e8ed7ca34bb6a09124fdc816e414b8c6e58968c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5a8b95c3c06b03c7e82e831e2cdcbee1444f1b81 (diff)
Skip idmap1 generation if target defines overlayable
Since idmap1 can't enforce policy restrictions, we can't allow it to generate an idmap that might get used. Migrating to idmap2 is too difficult for now as it requires a lot of PackageManager infrastructure to validate policies, and none of that is available during manifest parsing, which is where idmap1 is currently used. Bug: b/130260055 Test: manual test BT issue from b/130260055 Test: manual test app with test overlay toggling Activity enabled Change-Id: I5e7e321d27aab9be360a5e8be77d804ad3f66336
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions