diff options
| author | 2009-05-20 05:50:32 -0700 | |
|---|---|---|
| committer | 2009-05-20 05:50:32 -0700 | |
| commit | 90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c (patch) | |
| tree | e536e4bcd48285f4217542577e28686697472d30 | |
| parent | 97dd7ac8ede4eec057977dd579f236519782be7c (diff) | |
| parent | 9a940e8b3d61539392c1a9f925be13cca8b5103d (diff) | |
Merge change 2075 into donut
* changes:
Fix bad filtering of error code when set_position_mode() is being called.
| -rw-r--r-- | core/jni/android_location_GpsLocationProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_location_GpsLocationProvider.cpp b/core/jni/android_location_GpsLocationProvider.cpp index 004b0e3ea07e..08587411f524 100644 --- a/core/jni/android_location_GpsLocationProvider.cpp +++ b/core/jni/android_location_GpsLocationProvider.cpp @@ -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); |