Make test requirements consitent with CDD
CDD 7.3.2/C-1-2 says the magnetometer "MUST be able to report events up
to a frequency of at least 10 Hz and SHOULD report events up to at least
50 Hz".
Bug: 169206338
Test: cts-tradefed run commandAndExit cts --module CtsSensorTestCases
--test android.hardware.cts.SensorParameterRangeTest
Change-Id: I50abf22548b9f99526e321745b3ec70a6a6247a5
diff --git a/tests/sensor/src/android/hardware/cts/SensorParameterRangeTest.java b/tests/sensor/src/android/hardware/cts/SensorParameterRangeTest.java
index 921b0cc..39709a3 100644
--- a/tests/sensor/src/android/hardware/cts/SensorParameterRangeTest.java
+++ b/tests/sensor/src/android/hardware/cts/SensorParameterRangeTest.java
@@ -56,7 +56,7 @@
private static final double GYRO_HIFI_MAX_FREQUENCY_BEFORE_N = 200.0;
private static final double MAGNETOMETER_MAX_RANGE = 900.0; // micro telsa
- private static final double MAGNETOMETER_MAX_FREQUENCY = 50.0;
+ private static final double MAGNETOMETER_MAX_FREQUENCY = 10.0;
private static final double MAGNETOMETER_HIFI_MAX_RANGE = 900.0; // micro telsa
private static final double MAGNETOMETER_HIFI_MIN_FREQUENCY = 5.0;
private static final double MAGNETOMETER_HIFI_MAX_FREQUENCY = 50.0;