diff options
author | David Lin <dtwlin@google.com> | 2018-03-06 19:13:51 -0800 |
---|---|---|
committer | David Lin <dtwlin@google.com> | 2018-03-09 11:18:29 -0800 |
commit | 195ad4c474225e1a0a623e0d1a0d71651c381077 (patch) | |
tree | cfcb369de9547f6911d7224755c641e65f1360ea /vibrator | |
parent | ff4af98d557e50af21ff3b705c9f9b05dc052c8b (diff) | |
download | bonito-195ad4c474225e1a0a623e0d1a0d71651c381077.tar.gz |
haptics: remove workaround for the firmware issue
This removes the min 10 ms duration workaround for the firmware issue.
Bug: 73722420
Test: manual test
Change-Id: I199de5d97535fe401c60e7b4c3441307e7f69015
Signed-off-by: David Lin <dtwlin@google.com>
Diffstat (limited to 'vibrator')
-rw-r--r-- | vibrator/Vibrator.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vibrator/Vibrator.cpp b/vibrator/Vibrator.cpp index 3f3d78ef..31daf064 100644 --- a/vibrator/Vibrator.cpp +++ b/vibrator/Vibrator.cpp @@ -46,11 +46,6 @@ Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration) : // Methods from ::android::hardware::vibrator::V1_1::IVibrator follow. Return<Status> Vibrator::on(uint32_t timeoutMs) { - - // TODO: Remove this workaround once the firmware bug for vibrations - // under 10ms is fixed - timeoutMs = fmax(timeoutMs, 10); - mDuration << timeoutMs << std::endl; mActivate << 1 << std::endl; |