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

Skip to content
Commit ebd86954 authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Delivering haptic feedback on stable values of slider progress change.

The volume slider progress is changed via an ObjectAnimator when
changing volume programmatically. To avoid haptics on single
key-presses, calls to the haptic plugin are made when the volume rows
reach their target or stable progress after animations. To better
synchronize with animation timing, the haptic plugin timeout that
estimates a key-up event was reduced.

Test: press a volume key once to change the volume in a single step, then
  run adb shell dumpsys vibrator_manager and check that no vibrations
  are delivered.
Flag: ACONFIG com.android.systemui.haptic_volume_slider TEAMFOOD
Bug: 328117911
Change-Id: Ib286d4c42688afaa88ddc6e65fa6a25982ab06d3
parent 9375261e
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