| 1488 | } |
| 1489 | |
| 1490 | status_t postProcessImage(const sp<AaptAssets>& assets, |
| 1491 | ResourceTable* table, const sp<AaptFile>& file) |
| 1492 | { |
| 1493 | String8 ext(file->getPath().getPathExtension()); |
| 1494 | |
| 1495 | // At this point, now that we have all the resource data, all we need to |
| 1496 | // do is compile XML files. |
| 1497 | if (strcmp(ext.string(), ".xml") == 0) { |
| 1498 | return compileXmlFile(assets, file, table); |
| 1499 | } |
| 1500 | |
| 1501 | return NO_ERROR; |
| 1502 | } |
| 1503 | |
| 1504 | status_t PngMemoryFile::read(png_bytep data, png_size_t length) { |
| 1505 | if (data == NULL) |
no test coverage detected