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:
commit
70d2180d62
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