Change platformBuildVersionCode to name in aapt dump badging
Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a
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 @@
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,