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
This commit is contained in:
@@ -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
|
// At this point, now that we have all the resource data, all we need to
|
||||||
// do is compile XML files.
|
// do is compile XML files.
|
||||||
if (strcmp(ext.string(), ".xml") == 0) {
|
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);
|
return compileXmlFile(bundle, assets, resourceName, file, table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user