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

Commit c2d6fd81 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore enableFullTracking in HAL v1.0" into rvc-dev am: 05bf24a6 am:...

Merge "Ignore enableFullTracking in HAL v1.0" into rvc-dev am: 05bf24a6 am: 2ddcb7ba am: ed05e7bb am: f8e2c3e5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11958654

Change-Id: I70c799c2c5534bf9b2b44b9cae932c7b7c2592cd
parents 5f38fb64 f8e2c3e5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3116,9 +3116,7 @@ static jboolean android_location_GnssMeasurementsProvider_start_measurement_coll
        result = gnssMeasurementIface_V1_1->setCallback_1_1(cbIface, enableFullTracking);
    } else {
        if (enableFullTracking == JNI_TRUE) {
            // full tracking mode not supported in 1.0 HAL
            result.assertOk(); // isOk() must be called before result destructor is invoked.
            return JNI_FALSE;
            ALOGW("Full tracking mode not supported in 1.0 GNSS HAL.");
        }
        result = gnssMeasurementIface->setCallback(cbIface);
    }