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

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

Make Adaptive Haptics Scaling Linear

We added a new method to VibrationEffect which will perform linear scaling to vibration intensities.

This method is now  used to perform the scaling for adaptive haptics and will remove gamma corrections from happening when applying this scale.

Bug: 325921278
Test: atest
PrebakedSegmentTest/PrimitiveSegmentTest/RampSegmentTest/StepSegmentTest

Change-Id: Iea5ece0ec3c01d206462bd3e32de9b299dae54a4
parent fed1ab24
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