Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c44959be authored by AOYAGI Takako's avatar AOYAGI Takako Committed by Automerger Merge Worker
Browse files

Fix for VTS test CleanupConnectionsOnInitialize am: 45a15ed8 am: c0fd0005...

Fix for VTS test CleanupConnectionsOnInitialize am: 45a15ed8 am: c0fd0005 am: 16b926e7 am: e760f283 am: 64412bb9 am: 2bddcd60

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486695



Change-Id: Iae48597bf6ce9b6429a1deadd769a6474932184e
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 80513bca 2bddcd60
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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