OSDN Git Service

throw if we have a null typeface native instance (so we don't crash in native code)
authorMike Reed <reed@google.com>
Mon, 14 Dec 2009 19:57:01 +0000 (14:57 -0500)
committerMike Reed <reed@google.com>
Thu, 17 Dec 2009 17:18:44 +0000 (12:18 -0500)
commit31a69fdbe1edd8d686043e8ca7d278289f65808e
treee6f5e22a0149a7239cd8a13d2cfdf9f743bede77
parente96b6838b5a7ec3b4368e2449af9fbf0a8b75f16
throw if we have a null typeface native instance (so we don't crash in native code)
we may still have to native-destroy a Typeface with a null ref, so check for that
core/jni/android/graphics/Typeface.cpp
graphics/java/android/graphics/Typeface.java