(Android Location) Fix init function
This commit is contained in:
parent
44beafcfcb
commit
d43c971a1e
|
@ -76,7 +76,7 @@ static void *android_location_init(void)
|
||||||
if (!androidlocation->onLocationGetHorizontalAccuracy)
|
if (!androidlocation->onLocationGetHorizontalAccuracy)
|
||||||
goto dealloc;
|
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)
|
if (!androidlocation->onLocationSetInterval)
|
||||||
goto dealloc;
|
goto dealloc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue