summaryrefslogtreecommitdiff
path: root/tools/aapt
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-10-03 16:26:28 -0700
committerAdam Lesinski <adamlesinski@google.com>2016-10-03 16:33:12 -0700
commita77685fa59a327b33e7acbcefe35e63243014cbd (patch)
tree12fe981ecd8bc19b6dda8bc5177cc0c3aa13be41 /tools/aapt
parent1b219d06e397880e65b7af25a000954a3a39567a (diff)
Remove unused methods from AssetManager.cpp
A lot of the vendor/locale specific code existed pre-1.0 and was reworked into the current system. Test: refactoring CL, all code except setLocale() was not being executed. Test: setLocale() change tested manually Change-Id: Ifb098f9808763a6cf5fb4336e089430adc09e198
Diffstat (limited to 'tools/aapt')
-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 fb1370ef8bb5..9b62e14d96a2 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -1281,7 +1281,7 @@ int doDump(Bundle* bundle)
const size_t NL = locales.size();
for (size_t i=0; i<NL; i++) {
const char* localeStr = locales[i].string();
- assets.setLocale(localeStr != NULL ? localeStr : "");
+ assets.setConfiguration(config, localeStr != NULL ? localeStr : "");
String8 llabel = AaptXml::getResolvedAttribute(res, tree, LABEL_ATTR,
&error);
if (llabel != "") {