diff options
author | 2014-09-22 19:45:27 +0000 | |
---|---|---|
committer | 2014-09-22 19:45:27 +0000 | |
commit | dc03c9f292a93806a30a3a32009ff75ff8d419cc (patch) | |
tree | ae22bc693aced61651c28f48efc1ecc520333857 /tools/aapt/Images.cpp | |
parent | c2ece0002baf8731fedddc3f6053ef97863df497 (diff) | |
parent | 534b739118b6af4c4f27dc7a2d991f1b7d7c1e88 (diff) |
am d4e5b601: am 37e3df38: am 1aa4db07: am 81745c51: Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev
* commit 'd4e5b601c7da5c662d8cf9c46177810fdeeed23f':
AAPT: Continuation of public/private attribute fix
Diffstat (limited to 'tools/aapt/Images.cpp')
-rw-r--r-- | tools/aapt/Images.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/aapt/Images.cpp b/tools/aapt/Images.cpp index 137c85ce6ef2..56d1650c3652 100644 --- a/tools/aapt/Images.cpp +++ b/tools/aapt/Images.cpp @@ -1483,7 +1483,7 @@ status_t preProcessImageToCache(const Bundle* bundle, const String8& source, con return NO_ERROR; } -status_t postProcessImage(const sp<AaptAssets>& assets, +status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<AaptFile>& file) { String8 ext(file->getPath().getPathExtension()); @@ -1491,7 +1491,8 @@ status_t postProcessImage(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) { - return compileXmlFile(assets, file, table); + String16 resourceName(parseResourceName(file->getPath().getPathLeaf())); + return compileXmlFile(bundle, assets, resourceName, file, table); } return NO_ERROR; |