diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-20 05:50:32 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-20 05:50:32 -0700 |
commit | 90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c (patch) | |
tree | e536e4bcd48285f4217542577e28686697472d30 /core | |
parent | 97dd7ac8ede4eec057977dd579f236519782be7c (diff) | |
parent | 9a940e8b3d61539392c1a9f925be13cca8b5103d (diff) | |
download | frameworks_base-90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c.zip frameworks_base-90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c.tar.gz frameworks_base-90bd7338df76c0a6185f4ff2fe7f981fa1a1d36c.tar.bz2 |
Merge change 2075 into donut
* changes:
Fix bad filtering of error code when set_position_mode() is being called.
Diffstat (limited to 'core')
-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 004b0e3..0858741 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); |