summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2013-09-23 08:32:16 -0400
committerDerek Sollenberger <djsollen@google.com>2013-09-23 09:22:56 -0400
commitfe8e21fd80f0594f2be341643ef52d2095eda3b6 (patch)
treef085aecb048f346faa979b64ec28b7eafa4322ec /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf9b70ab87e8f26b57ac3d8dc3b77052e747cb888 (diff)
Fix Java API error where requesting another style for a provided family fails
Internally the API uses the same code path as SkTypeface::CreateFromName which returns NULL if the requested style is not supported by the existing family. However, the existing Java API expects that we return the default font in the requested style so this CL ensures that we do. bug: 10860066 Change-Id: Ide3a0cc24015e97fa35aef283b42e7d7d11edd9c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions