mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Introduce support to IVibratorManager HAL for vibration sessions. A session can be started with vendor extension parcelable to support vendor vibration sessions in the platform. Vibration sessions allows vibrator commands to be triggered without resetting the vibrator motor state. Some updates to the default Vibrator implementation were required to make sure the vibration and session callbacks are handled by the off() method as expected by the API docs. Fix: 345417514 Test: VtsHalVibratorManagerTargetTest Flag: EXEMPT HAL API changes Change-Id: Id55ce2f23656c21734f9a18f016676250eb4227b