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
Loading
Please register or sign in to comment