Add a method LoadedApk::WriteToArchive.

Test: Manually.

Change-Id: I61717204e58ca2bbfba9a52c7aecf27882a853f8
This commit is contained in:
Pierre Lecesne
2017-02-01 22:47:03 +00:00
parent ddb80216b9
commit 2599aa4dfd
4 changed files with 88 additions and 9 deletions

View File

@@ -370,8 +370,7 @@ bool BinaryResourceParser::ParseType(const ResourceTablePackage* package,
return false;
}
if (!table_->AddResourceAllowMangled(name, config, {},
std::move(resource_value),
if (!table_->AddResourceAllowMangled(name, res_id, config, {}, std::move(resource_value),
context_->GetDiagnostics())) {
return false;
}