DO NOT MERGE - Creating an empty package should be succesfull

Bug: 15473436
Change-Id: I788deb21a1298281c508429bab635aa713803984
(cherry picked from commit 807efa884ba01e0213667000a21908bfb04e8624)
This commit is contained in:
Adam Lesinski
2014-06-09 17:10:29 -07:00
committed by Baligh Uddin
parent 465c5de4ee
commit cbb0213d81

View File

@@ -3221,7 +3221,7 @@ status_t ResTable::addEmpty(const int32_t cookie) {
header->header = (const ResTable_header*) resHeader;
mHeaders.add(header);
return NO_ERROR;
return (mError=NO_ERROR);
}
status_t ResTable::addInternal(const void* data, size_t size, const int32_t cookie,