Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab66d5c9 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 90bd7338: Merge change 2075 into donut

Merge commit '90bd7338'

* commit '90bd7338':
  Fix bad filtering of error code when set_position_mode() is being called.
parents cad616ff 90bd7338
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);