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

Commit 90bd7338 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 2075 into donut

* changes:
  Fix bad filtering of error code when set_position_mode() is being called.
parents 97dd7ac8 9a940e8b
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);