summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceValues.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2016-01-06 23:50:50 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-01-06 23:50:50 +0000
commitf68f066cdfbd9df6fcab30ed034640c7a81d2cfe (patch)
tree73c55847c9107378ce9edf9b514184a7415aa398 /tools/aapt2/ResourceValues.cpp
parent457a7e74bebac65cfb1b0c01677116074a7cafac (diff)
parent24b8ff0faf7c59323d0171cdd825ca09e712aa1e (diff)
Merge "AAPT2: Fix references to private parent"
Diffstat (limited to 'tools/aapt2/ResourceValues.cpp')
-rw-r--r--tools/aapt2/ResourceValues.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt2/ResourceValues.cpp b/tools/aapt2/ResourceValues.cpp
index 04c375f5f974..be963ffde2b3 100644
--- a/tools/aapt2/ResourceValues.cpp
+++ b/tools/aapt2/ResourceValues.cpp
@@ -457,6 +457,9 @@ Style* Style::clone(StringPool* newPool) const {
void Style::print(std::ostream* out) const {
*out << "(style) ";
if (parent && parent.value().name) {
+ if (parent.value().privateReference) {
+ *out << "*";
+ }
*out << parent.value().name.value();
}
*out << " ["