Merge "Ignore enableFullTracking in HAL v1.0" into rvc-dev am: 05bf24a6c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11958654 Change-Id: I9fe1f9d7f33f63c97971ecad8410566af7970a08
This commit is contained in:
@@ -3109,9 +3109,7 @@ static jboolean android_location_GnssMeasurementsProvider_start_measurement_coll
|
|||||||
result = gnssMeasurementIface_V1_1->setCallback_1_1(cbIface, enableFullTracking);
|
result = gnssMeasurementIface_V1_1->setCallback_1_1(cbIface, enableFullTracking);
|
||||||
} else {
|
} else {
|
||||||
if (enableFullTracking == JNI_TRUE) {
|
if (enableFullTracking == JNI_TRUE) {
|
||||||
// full tracking mode not supported in 1.0 HAL
|
ALOGW("Full tracking mode not supported in 1.0 GNSS HAL.");
|
||||||
result.assertOk(); // isOk() must be called before result destructor is invoked.
|
|
||||||
return JNI_FALSE;
|
|
||||||
}
|
}
|
||||||
result = gnssMeasurementIface->setCallback(cbIface);
|
result = gnssMeasurementIface->setCallback(cbIface);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user