summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceParser.cpp
diff options
context:
space:
mode:
author Brandon Liu <branliu@google.com> 2023-05-04 23:54:03 +0000
committer Brandon Liu <branliu@google.com> 2023-05-04 23:58:48 +0000
commit48d229de10575efc0d7a636187ec41f5076b9be7 (patch)
tree0bea01112af70bc6670c70c75aaa5aaa90f98064 /tools/aapt2/ResourceParser.cpp
parentad8af4dd2c7a1fc77f7aacc72566d939bde693e5 (diff)
Adding verbose setters and getters for diagnostics to make ResourceUtils
code able to print verbose message. Bug: b/279977244 Test: Verified affected atests pass Change-Id: Iafbf4cb8a63720c95748a339b1f48dd4213f0eac
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
-rw-r--r--tools/aapt2/ResourceParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/ResourceParser.cpp b/tools/aapt2/ResourceParser.cpp
index fa9a98f136cb..6af39b739e9b 100644
--- a/tools/aapt2/ResourceParser.cpp
+++ b/tools/aapt2/ResourceParser.cpp
@@ -800,7 +800,7 @@ std::unique_ptr<Item> ResourceParser::ParseXml(const FlattenedXmlSubTree& xmlsub
// Process the raw value.
std::unique_ptr<Item> processed_item = ResourceUtils::TryParseItemForAttribute(
- xmlsub_tree.raw_value, type_mask, on_create_reference);
+ &diag, xmlsub_tree.raw_value, type_mask, on_create_reference);
if (processed_item) {
// Fix up the reference.
if (auto ref = ValueCast<Reference>(processed_item.get())) {