summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Raph Levien <raph@google.com> 2014-07-02 15:07:39 -0700
committer Raph Levien <raph@google.com> 2014-07-02 15:07:39 -0700
commit27bb05f2dccf1ac2ca55515aa0f4a99cd9c548a7 (patch)
treea30843dd52fa2bac9938fbd358d761512160af14 /libs/androidfw/AssetManager.cpp
parent6c09004ec09951712ab57473810fa6b85f5783cd (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