commit | 7e0e4c11f2d3206948973bbd85e14c5bf3bbedcb | [log] [tgz] |
---|---|---|
author | Dave Ingram <dmi@google.com> | Thu Aug 01 15:11:41 2019 -0700 |
committer | Dave Ingram <dmi@google.com> | Thu Aug 01 16:10:33 2019 -0700 |
tree | 16e6a07a5f86bb9ba8ad08d380b4b267c2bba036 | |
parent | b7daf7b6efed9b4d973252658151aab7772ba32f [diff] |
Badging should print package attributes at most once Following up to change 7938786; if an APK had platformBuildVersionCode compiled as *both* integer and string, it would be output twice. This then confuses anything that tries to parse the output. With this change, the value will be printed at most once, with the string version taking priority. Bug: 138666693 Test: manually built SDK28 APK and ran aapt2 dump badging Change-Id: Icf6eb656ac0cb263969bb2f0c5ca03139985f6ca