Merge "vibrator: turn off vibrator after testing ChangeVibrationAmplitude" am: 05eb1a279b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2104024 Change-Id: I016a1e46736fc84a024b379e369cdee044e0b57f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
fa0ac0f30c
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue