(Android Location) Fix init function

This commit is contained in:
twinaphex 2013-12-20 17:10:35 +01:00
parent 44beafcfcb
commit d43c971a1e

View File

@ -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;