Merge "Snap for 8711527 from f35813628dd82435e831800a652b3b54aad20282 to android10-tests-release" into android10-tests-release
diff --git a/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java b/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java
index c30759f..307fe41 100644
--- a/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java
+++ b/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java
@@ -80,6 +80,10 @@
MIN_HARDWARE_YEAR_MEASUREMENTS_REQUIRED, true)) {
return;
}
+ if (TestMeasurementUtil.isAutomotiveDevice(getContext())) {
+ Log.i(TAG, "Test is being skipped because the system has the AUTOMOTIVE feature.");
+ return;
+ }
for (int fixIntervalMillis : FIX_INTERVALS_MILLIS) {
testLocationUpdatesAtInterval(fixIntervalMillis);