From d43c971a1e7da6071686eadde997c25d9bda210e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 20 Dec 2013 17:10:35 +0100 Subject: [PATCH] (Android Location) Fix init function --- location/android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/location/android.c b/location/android.c index 906ff55f79..3b978d4024 100644 --- a/location/android.c +++ b/location/android.c @@ -76,7 +76,7 @@ static void *android_location_init(void) if (!androidlocation->onLocationGetHorizontalAccuracy) goto dealloc; - GET_METHOD_ID(env, androidlocation->onLocationGetLongitude, class, "onLocationSetInterval", "(II)V"); + GET_METHOD_ID(env, androidlocation->onLocationSetInterval, class, "onLocationSetInterval", "(II)V"); if (!androidlocation->onLocationSetInterval) goto dealloc;