summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2023-07-21 22:17:30 +0000
committer Juan Sebastian Martinez <juansmartinez@google.com> 2023-07-25 01:35:25 +0000
commite7ff086f5a1470deb6c794c7eeb513f1abaccd2f (patch)
tree265cb0a763faf9fc852c633dbce72167207931a9 /libs/hwui/FrameInfoVisualizer.cpp
parente9557c25415feb05800ec8d72d70f56733c6be82 (diff)
Using performHapticFeedback on BiometricUnlockController
Moving towards new haptics API that triggers haptics directly from the UI thread. The authentication success and authentication error trigger signals of CONFIRM and REJECT, respectively. This is while using the performHapticFeedback API from the VibratorHelper. The method requires a view and the view from the ViewRootImpl accessed from the keyguard controller was used. The changes are controlled by a feature flag. Test: Tests in BiometricsUnlockControllerTest pass with additional tests that involve oneway haptics on authentication success and failure. Bug: 245528624 Change-Id: I3b4e83d616e1c8ad5d64a4926975bd08379cd569
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions