summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-05-12 15:43:26 -0700
committerRomain Guy <romainguy@android.com>2009-05-12 15:43:26 -0700
commit2bb3ea162a58c0f1dddccdbe68b64e02456f11f9 (patch)
tree15f1d9358d6eec9f1bac7f6b7e0d977ce10e5dfd
parentc64322c35212e919906ffd66118c7d5d3ad36636 (diff)
downloadframeworks_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.
-rw-r--r--core/jni/android/graphics/Typeface.cpp2
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 }
};