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

Skip to content
Commit fa6eac33 authored by Ahmad Khalil's avatar Ahmad Khalil
Browse files

Adding the ability to pull vibration params before playing vibration

Vibrations that don't have strong latency requirements, e.g. ringtone and notification, will request vibration params before they get played.
The received params will be cached in the VibrationScaler and used to scale these vibrations. If the request times out, any previously cached vibration params will be used for scaling.

Bug: 305939448
Bug: 305961303
Test: atest FrameworksVibratorServicesTests
Change-Id: I085d8b238dbde4ff2f068d5e15eeb08b7a5381d3
parent 03823b64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment