summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Felka Chang <felkachang@google.com> 2021-12-10 01:19:08 +0800
committer Felka Chang <felkachang@google.com> 2021-12-14 11:42:30 +0800
commit00964e9aea00c2e2319192ec45734f60a2117549 (patch)
tree60858b6f89a582606bb257babf022b436f7b040b /libs/androidfw/StringPool.cpp
parent3cb6aeccbd047e7137b4459bb539d45b8f6afdef (diff)
Dump theme inheritance information in UnsupportedOperationException
It isn't enough to only dump the theme id and name because there is no whole theme inheritance map. Developers need the map to figure out why the attribute value is so strange. A theme is a kind of style. This patch creates an API to retrieve the parent id for any style. And, it dumps the whole inheritance between themes until it can't find the parent style. Test: manual test described in b/209708201#comment5 Bug: 209708201 Change-Id: I9de0e6e9aaeff7cb9fc89dc9b8a04925e84f975c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions