summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2019-06-05 10:13:41 -0700
committerRyan Mitchell <rtmitchell@google.com>2019-06-05 10:13:41 -0700
commita36cc98af509943d32288293c2c238c138edaba7 (patch)
tree1e29d3d8ae8282e4e328875fa0a5346fa0372182 /tools/aapt2/java/JavaClassGenerator.cpp
parent0dbbe879cb6befec366357f8f5d7d5402bb2b95c (diff)
Badging should print compiled platform version
aapt2 saves space by compiling all raw xml strings to the Res_value structure. This causes the platformBuildVersionCode and platformBuildVersionCodename attributes on the <manifest> tag to be compilled as integers. aapt2 and aapt dump badging assumed these values would be strings and is failing to print the value for these attributes. With this change, the value will be printed regardless if it is encoded as an integer or string. Bug: 130830770 Test: manualy build APK and run aapt2 dump badging Change-Id: I89487db36c6bc4d0fde3a410b7a64debfec5021e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions