From 195ad4c474225e1a0a623e0d1a0d71651c381077 Mon Sep 17 00:00:00 2001 From: David Lin Date: Tue, 6 Mar 2018 19:13:51 -0800 Subject: 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 --- vibrator/Vibrator.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vibrator') 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 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; -- cgit v1.2.3