diff options
author | Peter_Liang <peterliang@google.com> | 2020-02-18 13:20:05 +0800 |
---|---|---|
committer | PETER LIANG <peterliang@google.com> | 2020-02-25 09:05:12 +0000 |
commit | 193da543915c8674da7448a5b4b21ce15edb0987 (patch) | |
tree | b28dfc30878353e5376b185f58d162e4e781f84a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fb7bda97345466cdd2ac1b9e7dcbd788d05190ee (diff) |
Fine-tune the public APIs of allow rich content in Accessibility Settings for security.
1. Add some checkers and java doc:
- loadHtmlDescription
It filters the <img> tag which do not meet the custom specification and the <a> tag.
- loadAnimatedImage
It checks the resource whether to exceed the screen size.
Bug: 149516547
Test: atest AccessibilityShortcutInfoTest & manual test
Change-Id: I8ecad186fc9e4bb6799ded296805cdc5353c5010
Merged-In: I8ecad186fc9e4bb6799ded296805cdc5353c5010
(cherry picked from commit c6e383691591cccd1f98cdf59c55bca31af0cf87)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions