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
Loading
Please register or sign in to comment