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
Loading
Please register or sign in to comment