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

Commit d2765fa3 authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Supporting more programmatic progress changes in haptics sliders.

The default SliderStateTracker can also handle cases in which progress
changes occur in a slider when the tracker is IDLE. This can happen if
the slider reached a bookend (and resets to IDLE) but the program
continues to supply progress changes. Before, slider haptics would
remain stuck in the IDLE state until the state logic was reset by
terminating the slider interaction.

Test: added Unit tests to SliderStateTrackerTest
Test: manual. Verified haptics continue to work on the volume slider by
 using the volume keys after reaching either bookend.
Bug: 406120925
Flag: EXEMPT bug fix
Change-Id: I3eed6dd37e4e502c280c0a696732a04ca28dfddf
parent 4df49144
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment