commit | 27bb05f2dccf1ac2ca55515aa0f4a99cd9c548a7 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Jul 02 15:07:39 2014 -0700 |
committer | Raph Levien <raph@google.com> | Wed Jul 02 15:07:39 2014 -0700 |
tree | a30843dd52fa2bac9938fbd358d761512160af14 | |
parent | 6c09004ec09951712ab57473810fa6b85f5783cd [diff] |
Fix native crash when typeface is missing Creating a typeface from a missing file crashes when it tries to extract the style from the font. This patch just uses default style when the resulting font object is NULL. Bug: 15930808 Change-Id: I9438687100026f336db7aa204fe3a0232eee2db6