+22
−26
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
A power function is applied to vibration scaling to compensate for human non-linear perception. The exponent of the power function is added to SliderHapticFeedbackConfig. The new scaling is applied to vibrations while dragging and vibrations at the bookends. Test: atest SystemUITests:SliderHapticFeedbackProviderTest Bug: 295932558 Flag: ACONFIG com.android.systemui.haptic_brightness_slider TEAMFOOD Change-Id: If12c3921a7c79ec9f27f3381d3fc3372c9a33b90