commit | ab9128e4d5290e934244150f827cabc8bf620200 | [log] [tgz] |
---|---|---|
author | Wyatt Riley <wyattriley@google.com> | Fri Sep 08 13:04:49 2017 -0700 |
committer | Wyatt Riley <wyattriley@google.com> | Tue Sep 12 12:48:15 2017 -0700 |
tree | eed3640ea9abbcc85c31ac47027ce957220f2f6a | |
parent | 4e13f9b3be06f53613e7dbc49fad9f03db9d3312 [diff] |
Fix QZSS false CTS failures A break statement was missing from ag/2785198 This change ensures Glonass satellites are only checked against Glonass ID ranges Bug: 65255551 Test: Run CTS GPS tests on Pixel in window ledge Change-Id: I9c71ab7526e9d613b0070e3641a73f81d8f72e6b
diff --git a/tests/tests/location/src/android/location/cts/TestMeasurementUtil.java b/tests/tests/location/src/android/location/cts/TestMeasurementUtil.java index 6b6eca0..430b37b 100644 --- a/tests/tests/location/src/android/location/cts/TestMeasurementUtil.java +++ b/tests/tests/location/src/android/location/cts/TestMeasurementUtil.java
@@ -358,6 +358,7 @@ "1 <= svid <= 24 || 93 <= svid <= 106", svidValue, (svid >= 1 && svid <= 24) || (svid >= 93 && svid <= 106)); + break; case GnssStatus.CONSTELLATION_QZSS: softAssert.assertTrue("svid: Space Vehicle ID. Constellation type " + "= CONSTELLATION_QZSS",