summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-07-24 17:08:32 -0700
committerAdam Lesinski <adamlesinski@google.com>2017-07-24 17:08:32 -0700
commit3d6323961c46b608dfb842f170b40b8b18082cfb (patch)
tree8a5f0703b58bbfad24d66b3f22d1069cb0e569a7 /tools/aapt2/java/JavaClassGenerator.cpp
parent3370d3230d4e3084ca95eb6d6bb63f27c3cb6f63 (diff)
AAPT2: Add targetConfig to AndroidManifest.xml
Splits may include more/different configurations than they were originally specified to include. This happens, for instance, when a particular requested density doesn't exist. A fallback density resource is chosen for the split. This makes programmatic configuration targetting difficult, as the APK may report that it has resources for multiple densities, while it was meant to target only a specific density. This change encodes a comma separated list of the intended configurations for the split in an attribute called 'targetConfig' on the <manifest> tag of AndroidManifest.xml. Test: manual Change-Id: I3167e9341a434abc34ed2ddb8f740762b40b1ab7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions