Skip event count assertion on reporting mode
Sensors with reporting mode "One-shot" and "Special" will not trigger event on "activate", hence the test that expecting the event count after calling activate() will fail. Skipping the event count assertion if the device only has sensors with these reporting mode. Bug: 349268211 Test: run vts -m VtsAidlHalSensorsTargetTest -t Sensors/SensorsAidlTest#CallInitializeTwice/0_android_hardware_sensors_ISensors_default Change-Id: I656a652fc205961b8e6207942ccf16a71a08dc14
Loading
Please register or sign in to comment