src/core/android/SDL_android.c
changeset 8029 cf81e6709b3d
parent 8013 109299fe73ad
child 8039 3b0346b37e0f
     1.1 --- a/src/core/android/SDL_android.c	Sat Nov 23 15:52:49 2013 -0500
     1.2 +++ b/src/core/android/SDL_android.c	Sat Nov 23 23:38:16 2013 +0100
     1.3 @@ -1041,7 +1041,7 @@
     1.4      mid = (*env)->GetStaticMethodID(env, mActivityClass, "getContext", "()Landroid/content/Context;");
     1.5      jobject context = (*env)->CallStaticObjectMethod(env, mActivityClass, mid);
     1.6  
     1.7 -    mid = (*env)->GetMethodID(env, mActivityClass, "getSystemService", "(Ljava/lang/String;)Ljava/lang/Object;");
     1.8 +    mid = (*env)->GetMethodID(env, mActivityClass, "getSystemServiceFromUiThread", "(Ljava/lang/String;)Ljava/lang/Object;");
     1.9      jobject manager = (*env)->CallObjectMethod(env, context, mid, service);
    1.10  
    1.11      (*env)->DeleteLocalRef(env, service);