commit | 70d2180d6218ca18591382ed7c29807310dd8b24 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jun 08 14:53:56 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jun 08 14:53:56 2022 +0000 |
tree | b2db0c03dd8ae5950cefdc124254f8219a177e34 | |
parent | 89870fe923494df2c8de1aca4d2ab25959098f39 [diff] | |
parent | fa0ac0f30c4476d5e497c7f78addad6ca821e534 [diff] |
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>
diff --git a/vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp b/vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp index 3841715..791d7e8 100644 --- a/vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp +++ b/vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp
@@ -332,6 +332,7 @@ sleep(1); EXPECT_EQ(Status::EX_NONE, vibrator->setAmplitude(1.0f).exceptionCode()); sleep(1); + EXPECT_TRUE(vibrator->off().isOk()); } }