gps: Fix missing return value in android_location_GpsLocationProvider_init
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -155,6 +155,7 @@ static jboolean android_location_GpsLocationProvider_init(JNIEnv* env, jobject o
|
|||||||
sGpsSuplInterface = (const GpsSuplInterface*)sGpsInterface->get_extension(GPS_SUPL_INTERFACE);
|
sGpsSuplInterface = (const GpsSuplInterface*)sGpsInterface->get_extension(GPS_SUPL_INTERFACE);
|
||||||
if (sGpsSuplInterface)
|
if (sGpsSuplInterface)
|
||||||
sGpsSuplInterface->init(&sGpsSuplCallbacks);
|
sGpsSuplInterface->init(&sGpsSuplCallbacks);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void android_location_GpsLocationProvider_disable(JNIEnv* env, jobject obj)
|
static void android_location_GpsLocationProvider_disable(JNIEnv* env, jobject obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user