diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-12-16 14:01:57 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-12-17 11:01:55 -0800 |
commit | 24b8ff0faf7c59323d0171cdd825ca09e712aa1e (patch) | |
tree | f1350009e8e3aa03ab93b088619635991aeb989a /tools/aapt2/ResourceValues.cpp | |
parent | 7ff3ee19f4b831a526baf4b928d1ac172d070d82 (diff) |
AAPT2: Fix references to private parent
Change-Id: Id4697551b6c8cb6167f562de593006ae3c6158c0
Diffstat (limited to 'tools/aapt2/ResourceValues.cpp')
-rw-r--r-- | tools/aapt2/ResourceValues.cpp | 3 |
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 << " [" |