OSDN Git Service

Need to return false if addSkTypeface fails.
authorSeigo Nonaka <nona@google.com>
Mon, 3 Apr 2017 22:51:02 +0000 (15:51 -0700)
committerSeigo Nonaka <nona@google.com>
Mon, 3 Apr 2017 22:51:02 +0000 (15:51 -0700)
commitd5d6561f252d180d897281d62848f43650a8fdac
tree82cdee9542e972611797a8c62dfc451a1e6099bc
parentbe436bdefe1947c01eb4b42bf1b864b1e86b7fb9
Need to return false if addSkTypeface fails.

Bug: 36809770
Test: android.content.res.cts.ResourcesTest#testGetFont_invalidFontFiles
Change-Id: I89438805b9232b1f789af5f70ef1f773589ecd3a
core/jni/android/graphics/FontFamily.cpp