commit | 8b6b5d323fa8328d9fc523cce6995f2621a8dbd0 | [log] [tgz] |
---|---|---|
author | Jerome Gaillard <jgaillard@google.com> | Thu Jul 29 19:53:57 2021 +0100 |
committer | Jerome Gaillard <jgaillard@google.com> | Mon Aug 02 19:39:21 2021 +0000 |
tree | a123b5f0290f3a265f10f956cd7851ae8f704c62 | |
parent | ae3a68d036eae164de021708119f72e07dd4a2f4 [diff] |
Correctly handle strings styled with HTML markup Only a small subset of HTML is supported for styling strings. This replicates exactly what the Android framework by copying how StringBlock handles HTML markup. Bug: 184782424 Test: Test added in ResourceHelper.java Change-Id: Ic57f18a34b6d5fbb4aa9456e71ac0ae6b1d63c96 (cherry picked from commit b477949b988b42b5b7c57e3b8d092f541763028a)