Set mSensorMightHaveMoreListeners flag to false.
This will run addtional verifications for sensor tests.
Change-Id: Idb5af873e62184fcc5623f6e5a85797c8797509c
diff --git a/tests/tests/hardware/src/android/hardware/cts/SensorTestCase.java b/tests/tests/hardware/src/android/hardware/cts/SensorTestCase.java
index 42b8d33..10992c5 100644
--- a/tests/tests/hardware/src/android/hardware/cts/SensorTestCase.java
+++ b/tests/tests/hardware/src/android/hardware/cts/SensorTestCase.java
@@ -32,15 +32,12 @@
protected static final String LOG_TAG = "TestRunner";
/**
- * By default tests need to run in a {@link TestSensorEnvironment} that assumes each sensor is
- * running with a load of several listeners, requesting data at different rates.
- *
- * In a better world the component acting as builder of {@link SensorOperation} would compute
- * this value based on the tests composed.
- *
- * Ideally, each {@link Sensor} object would expose this information to clients.
+ * Previously for L release, we had this flag to know if each sensor is running with multiple
+ * listeners each requesting different data rates. Now before running CTS tests all sensors
+ * are de-activated by putting SensorService in RESTRICTED mode. Only CTS tests can
+ * activate/deactivate sensors in this mode. So we can default this flag value to false.
*/
- private volatile boolean mEmulateSensorUnderLoad = true;
+ private volatile boolean mEmulateSensorUnderLoad = false;
/**
* By default the test class is the root of the test hierarchy.