summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-08-11 14:26:37 -0700
committerRaph Levien <raph@google.com>2014-08-11 14:26:37 -0700
commitff86bcd08827d1050a8cfd99b521c21848b3f364 (patch)
tree8f9d195abc77dd407f3eb197044b09834310aa8b /rs/java/android/renderscript/RenderScript.java
parent1584609f422c338ade65b8b4078b434ba3a81253 (diff)
Resolve invalid Typeface style to default
Setting a textAppearance that specified a fontFamily but not a textStyle results in a styleIndex of -1 being passed to the Typeface.create() call. This patch resolves such invalid style indices to the default. Fix for bug 16880318 "Applying TextAppearance To TextView with custom font family incorrectly adds italics style on LMP" Change-Id: I05c9cfc4d76161be21b58abdb4037c51a23cae37
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions