Merge "vibrator: turn off vibrator after testing ChangeVibrationAmplitude" am: 05eb1a279b am: fa0ac0f30c

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

Change-Id: Ie43d991e7d0a79be679b8bf64ae1922c499d6921
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-06-08 14:53:56 +00:00 committed by Automerger Merge Worker
commit 70d2180d62

View file

@ -332,6 +332,7 @@ TEST_P(VibratorAidl, ChangeVibrationAmplitude) {
sleep(1);
EXPECT_EQ(Status::EX_NONE, vibrator->setAmplitude(1.0f).exceptionCode());
sleep(1);
EXPECT_TRUE(vibrator->off().isOk());
}
}