diff options
author | dhewg | 2011-02-20 20:16:51 +0100 |
---|---|---|
committer | dhewg | 2011-02-24 23:18:31 +0100 |
commit | 4af28f96ab4075cb5e512d4050ac085df73a029a (patch) | |
tree | 9c1af1097d4e59aaa2b18369d76acf587227d9ec /backends/platform/android | |
parent | 257913676d5a21c6192a6146e662c21f299c9b09 (diff) | |
download | scummvm-rg350-4af28f96ab4075cb5e512d4050ac085df73a029a.tar.gz scummvm-rg350-4af28f96ab4075cb5e512d4050ac085df73a029a.tar.bz2 scummvm-rg350-4af28f96ab4075cb5e512d4050ac085df73a029a.zip |
ANDROID: Remove unused jmethod Object.wait()
Diffstat (limited to 'backends/platform/android')
-rw-r--r-- | backends/platform/android/jni.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp index 0f1366148f..e5d0f71f53 100644 --- a/backends/platform/android/jni.cpp +++ b/backends/platform/android/jni.cpp @@ -44,7 +44,6 @@ static jfieldID FID_Event_mouse_x; static jfieldID FID_Event_mouse_y; static jfieldID FID_Event_mouse_relative; static jfieldID FID_ScummVM_nativeScummVM; -static jmethodID MID_Object_wait; JNIEnv *JNU_GetEnv() { JNIEnv *env = 0; @@ -372,14 +371,6 @@ JNI_OnLoad(JavaVM *jvm, void *reserved) { if (FID_Event_mouse_relative == 0) return JNI_ERR; - cls = env->FindClass("java/lang/Object"); - if (cls == 0) - return JNI_ERR; - - MID_Object_wait = env->GetMethodID(cls, "wait", "()V"); - if (MID_Object_wait == 0) - return JNI_ERR; - return JNI_VERSION_1_2; } |