diff options
author | Seigo Nonaka <nona@google.com> | 2019-03-11 15:18:12 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2019-03-12 12:13:14 -0700 |
commit | 96e93959fb8cb27db1829b28113558cc8136c858 (patch) | |
tree | 5ee3f38cc6485eb67fe5a2d59b3e112840e3a689 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 36ad7638dc4066ec8d563ff9c7fd94fa8291a931 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions