diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-05-15 14:14:41 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-05-15 14:14:41 -0700 |
commit | b71adb6571aa740f4fa794602133f708e1b96545 (patch) | |
tree | 90b1c6b2aa3dfcab7207e9e31851932cc9d750dd /tools | |
parent | da86f784b686ba00d9f797b8ee565629669080b9 (diff) | |
download | frameworks_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.cpp | 2 |
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()); |