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

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

Introducing haptic components to the brightness slider.

The components come in the form of a slider state tracker, a slider
event producer, and a slider state listener with concrete
implementations for the purpose of haptic feedback based on the slider
progress and velocity. The components are incorporated as a bundle
inside a BrightnessSliderHaptic plugin added to the
BrightnessSliderController. The new feature is protected by a flag.

Test: atest BrightnessSliderHapticPluginImplTest
Test: atest BrightnessSlidercontrollerTest
Bug: 295932558
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9f288982db8e863b49c6d249c168202516874a2f)

Change-Id: I52b954b8a108a66feee524e152bcc1f882669dd0
parent 91af11ff
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