From 24b8ff0faf7c59323d0171cdd825ca09e712aa1e Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Wed, 16 Dec 2015 14:01:57 -0800 Subject: AAPT2: Fix references to private parent Change-Id: Id4697551b6c8cb6167f562de593006ae3c6158c0 --- tools/aapt2/ResourceValues.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/aapt2/ResourceValues.cpp') 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 << " [" -- cgit v1.2.3-59-g8ed1b