Merge change 2075 into donut
* changes: Fix bad filtering of error code when set_position_mode() is being called.
This commit is contained in:
@@ -176,7 +176,7 @@ static jboolean android_location_GpsLocationProvider_start(JNIEnv* env, jobject
|
||||
{
|
||||
int result = sGpsInterface->set_position_mode(positionMode, (singleFix ? 0 : fixFrequency));
|
||||
if (result) {
|
||||
return result;
|
||||
return false;
|
||||
}
|
||||
|
||||
return (sGpsInterface->start() == 0);
|
||||
|
||||
Reference in New Issue
Block a user