Using performHapticFeedback on ControlActionCoordinatorImpl
Replacing the calls to vibrate() with performHapticFeedback when a drag() action is performed. The vibrations for when the drag event corresponds to an edge or not where replaced by the SEGMENT_TICK and SEGMENT_FREQUENT_TICK, respectively. The changes are controlled by a feature flag Test: Unit tests were added to ControlActionCoordinatorImplTest to verify that vibrate() or performHapticFeedback are used depending on the flag. Bug: 245528624 Change-Id: Ifdb9e45c97071838a92d998912b5d8529b789320
Loading
Please register or sign in to comment