summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2019-09-24 19:14:05 -0400
committerEvan Laird <evanlaird@google.com>2020-02-10 16:45:16 -0500
commit5784a6b67c1ea468b071311839ab84c01f320a1a (patch)
tree7b964883be147bca68273b1459130c3dacfb0ce4 /tools/aapt2/java/JavaClassGenerator.cpp
parentc22d4531c723d0e3512e37cc3c0e0c90899e9708 (diff)
Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in the mobile data type content description strings. This way we can use some basic styling in the Quick Settings cellular data tile which uses it in a TextView. We do this by assuming that the content description is valid, escaped HTML, and send two separate CharSequences to all of the listeners, all of which can then decide if they need the regular content description or the prettified version. Test: atest SystemUITests; system ui demo mode Bug: 141177147 Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions