summaryrefslogtreecommitdiff
path: root/tools/aapt/Images.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2014-10-17 22:50:48 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-10-17 22:50:50 +0000
commit3cd840f4b5a2988700a6b366fa32f4565c319900 (patch)
tree5da7403545ff425fe86c7b0bff65cc27d018ccd6 /tools/aapt/Images.cpp
parent84b4791aaf0384a334068a97c70fcda162cfadab (diff)
parent9306a474e1b7509f4cdf252359dc301ce933ca1d (diff)
Merge "AAPT: Fix an issue where a resource name was incorrectly derived on Windows" into lmp-dev
Diffstat (limited to 'tools/aapt/Images.cpp')
-rw-r--r--tools/aapt/Images.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Images.cpp b/tools/aapt/Images.cpp
index 56d1650c3652..5d4a6ac8e0c6 100644
--- a/tools/aapt/Images.cpp
+++ b/tools/aapt/Images.cpp
@@ -1491,7 +1491,7 @@ status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
// At this point, now that we have all the resource data, all we need to
// do is compile XML files.
if (strcmp(ext.string(), ".xml") == 0) {
- String16 resourceName(parseResourceName(file->getPath().getPathLeaf()));
+ String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf()));
return compileXmlFile(bundle, assets, resourceName, file, table);
}