diff options
| author | 2014-07-02 15:07:39 -0700 | |
|---|---|---|
| committer | 2014-07-02 15:07:39 -0700 | |
| commit | 27bb05f2dccf1ac2ca55515aa0f4a99cd9c548a7 (patch) | |
| tree | a30843dd52fa2bac9938fbd358d761512160af14 /libs/androidfw/AssetManager.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions