summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2019-03-11 15:18:12 -0700
committerSeigo Nonaka <nona@google.com>2019-03-12 12:13:14 -0700
commit96e93959fb8cb27db1829b28113558cc8136c858 (patch)
tree5ee3f38cc6485eb67fe5a2d59b3e112840e3a689 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent36ad7638dc4066ec8d563ff9c7fd94fa8291a931 (diff)
Always suppress font error during resource loading
I suppressed the font error during resource loading only if the targetSdkVersion is API 28 or before, but it turned out that this makes developers hard to use font resources since: - We don't give a list of supported font files and OEM may extend/shrink the font support. - There is no way to resolve this error during layout inflation. So, now always supress the IllegalArgumentException during building Typeface in resource loading. Bug: 127714175 Test: atest CtsTextTestCases Test: atest CtsGraphicsTestCases Test: atest FontsContractTest Test: atest CtsWidgetTestCases Change-Id: I08b9f27aaf25ff491fa36d0a4befb3c6e64abfcf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions