diff options
author | Romain Guy <romainguy@android.com> | 2009-05-12 15:43:26 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-05-12 15:43:26 -0700 |
commit | 2bb3ea162a58c0f1dddccdbe68b64e02456f11f9 (patch) | |
tree | 15f1d9358d6eec9f1bac7f6b7e0d977ce10e5dfd /core/jni | |
parent | c64322c35212e919906ffd66118c7d5d3ad36636 (diff) | |
download | frameworks_base-2bb3ea162a58c0f1dddccdbe68b64e02456f11f9.zip frameworks_base-2bb3ea162a58c0f1dddccdbe68b64e02456f11f9.tar.gz frameworks_base-2bb3ea162a58c0f1dddccdbe68b64e02456f11f9.tar.bz2 |
Fix native core runtime. A messy declaration was causing a problem at boot time.
Diffstat (limited to 'core/jni')
-rw-r--r-- | core/jni/android/graphics/Typeface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/Typeface.cpp b/core/jni/android/graphics/Typeface.cpp index 4f23f65..21dde63 100644 --- a/core/jni/android/graphics/Typeface.cpp +++ b/core/jni/android/graphics/Typeface.cpp @@ -150,7 +150,7 @@ static JNINativeMethod gTypefaceMethods[] = { { "nativeGetStyle", "(I)I", (void*)Typeface_getStyle }, { "nativeCreateFromAsset", "(Landroid/content/res/AssetManager;Ljava/lang/String;)I", (void*)Typeface_createFromAsset }, - { "nativeCreateFromFile", "(Ljava/lang/String)I", + { "nativeCreateFromFile", "(Ljava/lang/String;)I", (void*)Typeface_createFromFile } }; |