Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9bc0f1eb authored by Lais Andrade's avatar Lais Andrade
Browse files

Introduce vibrator service effect pipeline support

Add device config to allow very short vibrations to complete before
playing a newly requested one. This will improve the user experience of
very frequent and short haptic feedback, e.g. the ones created by typing
on a virtual keyboard or using a slider.

The constant cancellation of short effects can create an unpleasant
haptic experience, and in some hardwares it can take longer to brake the
ongoing signal than it would take to wait for it to complete gracefully.

Bug: 344494220
Flag: android.os.vibrator.vibration_pipeline_enabled
Test: FrameworksVibratorCoreTests
      FrameworksVibratorServicesTests
Change-Id: I28b2a3bc6e2dd2bd1c3beb731fdb205bcc9312c7
parent 43cb7dd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment