device_google_felix/vibrator
Chase Wu 968c3d1a00 cs40l26: Fix the composed effect delay problem
When user typed the gboard back-to-back, HAL will send a STOP call right
after it sends a START call. At this moment, driver is under an
activating process and the vibe_state is not 1, so the erasing process
will be forced to wait for the FW's completed signal.
This makes STOP call consumes lots of waiting time and user would still
feels a delay gap under back-to-back typing behavior.

This patch removes the erased process from the STOP call and let it be
done in the completed process.

Bug: 263476381
Test: atest PtsVibratorHalTestSuite \
            PtsHapticsTestCases \
            PtsHapticsFeatureTestCases \
            VibratorHalCs40l26TestSuite \
            VtsHalVibratorManagerTargetTest \
            VtsHalVibratorTargetTest \
            android.os.cts.VibratorTest \
            android.os.cts.VibratorManagerTest \
            android.os.cts.VibrationEffectTest \
            android.os.cts.VibrationAttributesTest \
            android.os.cts.CombinedVibrationTest
Test: Type Gboard with five fingers

Change-Id: I02dfdae4e9e9334a253106f631c933228398b077
2023-02-11 11:58:05 +08:00
..
common [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
cs40l26 cs40l26: Fix the composed effect delay problem 2023-02-11 11:58:05 +08:00
Android.bp cs40l26: Move the latest vibrator HAL to device 2022-10-28 23:31:07 +08:00
OWNERS cs40l26: Move the latest vibrator HAL to device 2022-10-28 23:31:07 +08:00