diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-10-17 23:12:28 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-17 23:12:28 +0000 |
commit | 10db7553ec036557032c98cdcd334b55fa1bec10 (patch) | |
tree | c927a025ee0950c7bfa29f9f49647c8b53d86ffc /tools/aapt | |
parent | 83c97babb00b4b78747d5b14be2ed7dba6f438b0 (diff) | |
parent | dd64fc43a6c560d3c545132adc16cd4a079f9600 (diff) | |
download | frameworks_base-10db7553ec036557032c98cdcd334b55fa1bec10.zip frameworks_base-10db7553ec036557032c98cdcd334b55fa1bec10.tar.gz frameworks_base-10db7553ec036557032c98cdcd334b55fa1bec10.tar.bz2 |
am dd64fc43: am effd416e: am 83fae208: am 3cd840f4: Merge "AAPT: Fix an issue where a resource name was incorrectly derived on Windows" into lmp-dev
* commit 'dd64fc43a6c560d3c545132adc16cd4a079f9600':
AAPT: Fix an issue where a resource name was incorrectly derived on Windows
Diffstat (limited to 'tools/aapt')
-rw-r--r-- | tools/aapt/Images.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Images.cpp b/tools/aapt/Images.cpp index f9fd824..5ab177b 100644 --- a/tools/aapt/Images.cpp +++ b/tools/aapt/Images.cpp @@ -1505,7 +1505,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); } |