diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-03-30 00:15:39 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-03-30 00:15:39 +0000 |
commit | 68c02569ef6a2dea1852e07a309f3c328044f890 (patch) | |
tree | ad7d48069d5773ddeb38572dd610df6ea38c278f /tools/aapt2/cmd/Compile.cpp | |
parent | 1f481277cdb407bc91d45aed06606f75ad972e56 (diff) | |
parent | a15c2a8957b9883cb293fdacaeabd7f2e037a0a5 (diff) |
Merge "Check the size of the strings in the StringPool before flattening."
Diffstat (limited to 'tools/aapt2/cmd/Compile.cpp')
-rw-r--r-- | tools/aapt2/cmd/Compile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/cmd/Compile.cpp b/tools/aapt2/cmd/Compile.cpp index 6ba9d441d186..1db63350670c 100644 --- a/tools/aapt2/cmd/Compile.cpp +++ b/tools/aapt2/cmd/Compile.cpp @@ -263,7 +263,7 @@ static bool CompileTable(IAaptContext* context, const CompileOptions& options, ContainerWriter container_writer(©ing_adaptor, 1u); pb::ResourceTable pb_table; - SerializeTableToPb(table, &pb_table); + SerializeTableToPb(table, &pb_table, context->GetDiagnostics()); if (!container_writer.AddResTableEntry(pb_table)) { context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to write"); return false; |