summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-05-15 14:14:41 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-05-15 14:14:41 -0700
commitb71adb6571aa740f4fa794602133f708e1b96545 (patch)
tree90b1c6b2aa3dfcab7207e9e31851932cc9d750dd /tools
parentda86f784b686ba00d9f797b8ee565629669080b9 (diff)
downloadframeworks_base-b71adb6571aa740f4fa794602133f708e1b96545.zip
frameworks_base-b71adb6571aa740f4fa794602133f708e1b96545.tar.gz
frameworks_base-b71adb6571aa740f4fa794602133f708e1b96545.tar.bz2
AAPT dump badging should allow refs in meta-data
The framework allows references in the <meta-data> element in an AndroidManifest.xml, so badging should do the same. Bug:14088271 Change-Id: Ia8157655e21adaf11b7ace90a98a9cca3c8a476c
Diffstat (limited to 'tools')
-rw-r--r--tools/aapt/Command.cpp2
1 files changed, 1 insertions, 1 deletions
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());