diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-08-29 11:23:55 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-08-29 11:27:00 -0700 |
commit | 5283faba4a75a4d1fd9990637d22768e423895e3 (patch) | |
tree | 31b7157c4c11a5121c068e9a2081bdca8a62ff85 /tools/aapt | |
parent | 3e294e9921db619f5ef0adaf6124a78fd73911b2 (diff) | |
download | frameworks_base-5283faba4a75a4d1fd9990637d22768e423895e3.zip frameworks_base-5283faba4a75a4d1fd9990637d22768e423895e3.tar.gz frameworks_base-5283faba4a75a4d1fd9990637d22768e423895e3.tar.bz2 |
Change platformBuildVersionCode to name in aapt dump badging
Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a
Diffstat (limited to 'tools/aapt')
-rw-r--r-- | tools/aapt/Command.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index fd660bb..27e60f3 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1038,9 +1038,9 @@ int doDump(Bundle* bundle) splitName.string()).string()); } - int32_t platformVersionCode = AaptXml::getIntegerAttribute(tree, NULL, - "platformBuildVersionCode"); - printf(" platformBuildVersionCode='%d'", platformVersionCode); + String8 platformVersionName = AaptXml::getAttribute(tree, NULL, + "platformBuildVersionName"); + printf(" platformBuildVersionName='%s'", platformVersionName.string()); printf("\n"); int32_t installLocation = AaptXml::getResolvedIntegerAttribute(res, tree, |