Change platformBuildVersionCode to name in aapt dump badging

Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a
This commit is contained in:
Adam Lesinski
2014-08-29 11:23:55 -07:00
parent 3e294e9921
commit 5283faba4a

View File

@@ -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,