From 5283faba4a75a4d1fd9990637d22768e423895e3 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Fri, 29 Aug 2014 11:23:55 -0700 Subject: Change platformBuildVersionCode to name in aapt dump badging Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a --- tools/aapt/Command.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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, -- cgit v1.1