summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-14 20:20:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-06-14 20:20:10 +0000
commitd11686894929af03149c3e719221bc0c55ba9dd2 (patch)
tree2bbcce0ec2fc9ae33b565c90442c8443112567dd
parent3c2eb7ca75c85f7c4793ba04a92dd34fb97bbc12 (diff)
parentebbd1e62188b8cf9c170a9153a665c4e0baa8503 (diff)
downloadcts-sparse-8722192-L86400000955670218.tar.gz
Merge "Snap for 8711527 from f35813628dd82435e831800a652b3b54aad20282 to android10-tests-release" into android10-tests-releasesparse-8722192-L86400000955670218
-rw-r--r--tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java b/tests/tests/location/src/android/location/cts/GnssLocationUpdateIntervalTest.java
index c30759fa132..307fe413403 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 @@ public class GnssLocationUpdateIntervalTest extends GnssTestCase {
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);