diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-04-29 14:48:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-04-29 14:48:53 +0000 |
commit | dd76b346d411b50a56927b36ae10de013afb0974 (patch) | |
tree | 64b5debd9a0ff0d33e41a063d9e46325e02cb87a /tools/aapt2/ResourceParser.cpp | |
parent | 296152392f3f5851dd0d94a959a30989e9dc1463 (diff) | |
parent | 2e2c3b6220d14d1047b3b6ee3d0513b2575ef706 (diff) |
Merge "Fix unknown resource type error message" into qt-dev
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
-rw-r--r-- | tools/aapt2/ResourceParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/ResourceParser.cpp b/tools/aapt2/ResourceParser.cpp index c291b395d94b..45cea8190844 100644 --- a/tools/aapt2/ResourceParser.cpp +++ b/tools/aapt2/ResourceParser.cpp @@ -693,7 +693,7 @@ bool ResourceParser::ParseResource(xml::XmlPullParser* parser, // If the resource type was not recognized, write the error and return false. diag_->Error(DiagMessage(out_resource->source) - << "unknown resource type '" << parser->element_name() << "'"); + << "unknown resource type '" << resource_type << "'"); return false; } |