From b71adb6571aa740f4fa794602133f708e1b96545 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Thu, 15 May 2014 14:14:41 -0700 Subject: AAPT dump badging should allow refs in meta-data The framework allows references in the element in an AndroidManifest.xml, so badging should do the same. Bug:14088271 Change-Id: Ia8157655e21adaf11b7ace90a98a9cca3c8a476c --- tools/aapt/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 0360200..8f2d852 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1423,7 +1423,7 @@ int doDump(Bundle* bundle) " service '%s': %s\n", serviceName.string(), error.string()); } } else if (bundle->getIncludeMetaData() && tag == "meta-data") { - String8 metaDataName = getAttribute(tree, NAME_ATTR, &error); + String8 metaDataName = getResolvedAttribute(&res, tree, NAME_ATTR, &error); if (error != "") { fprintf(stderr, "ERROR getting 'android:name' attribute for " "meta-data:%s\n", error.string()); -- cgit v1.1