summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2023-08-09 11:09:57 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2023-08-11 09:29:38 -0700
commit099901dc7eb2dc2e2d7208a2a2dded6f6dd7b514 (patch)
treeef117a27cb5e31379fb35e1c7d6b382f5bddc127 /libs/hwui/FrameInfoVisualizer.cpp
parent8a9733fc8d5b28b548363dde908eb342a2e62939 (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions