summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Iurii Makhno <iuriimak@google.com> 2022-02-15 19:33:50 +0000
committer Iurii Makhno <iuriimak@google.com> 2022-02-16 20:23:24 +0000
commitcff10cec6cb6f406f71d42b064d527549cc0cca8 (patch)
tree1d2facf050dc96a030ae07e59e197dec7479733f /tools/aapt2/Debug.cpp
parentdfbac39d3854daabdef722fd62ccb58203ff3e2d (diff)
Switch ResourceName to use ResourceNamedType instead of ResourceType.
DD: go/custom-resource-types-in-aapt2 Bug: b/215108200 Test: Resource_test.cpp Change-Id: I0b97fc0024523700e01adce788bb934d388da288
Diffstat (limited to 'tools/aapt2/Debug.cpp')
-rw-r--r--tools/aapt2/Debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/Debug.cpp b/tools/aapt2/Debug.cpp
index 7103944bc12e..f47d66ea5e87 100644
--- a/tools/aapt2/Debug.cpp
+++ b/tools/aapt2/Debug.cpp
@@ -80,7 +80,7 @@ class ValueHeadlinePrinter : public ConstValueVisitor {
printer_->Print(parent_name.package);
printer_->Print(":");
}
- printer_->Print(to_string(parent_name.type));
+ printer_->Print(parent_name.type.to_string());
printer_->Print("/");
printer_->Print(parent_name.entry);
if (parent_ref.id) {