mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Fix for VTS test CleanupConnectionsOnInitialize am: 45a15ed8b9 am: c0fd000566 am: 16b926e728 am: e760f283cc am: 006acfa520
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486695 Change-Id: I7a880f22011ce1cfc381ad1387f701211cc5844e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -559,6 +559,11 @@ TEST_P(SensorsHidlTest, CallInitializeTwice) {
|
||||
}
|
||||
|
||||
TEST_P(SensorsHidlTest, CleanupConnectionsOnInitialize) {
|
||||
if (getSensorsList().size() == 0) {
|
||||
// No sensors
|
||||
return;
|
||||
}
|
||||
|
||||
activateAllSensors(true);
|
||||
|
||||
// Verify that events are received
|
||||
|
||||
Reference in New Issue
Block a user