diff options
| author | 2023-08-10 15:22:53 -0700 | |
|---|---|---|
| committer | 2023-08-11 13:11:06 -0700 | |
| commit | 96e79d56359dce8618c5d20eaf5883ec5b33171d (patch) | |
| tree | 31667f68854b7372021a3952c127eb63601f5e51 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 8a9733fc8d5b28b548363dde908eb342a2e62939 (diff) | |
Using performHapticFeedback on BiometricViewBinder
Migration towards a new oneway API to play haptics from the main thread.
A stateflow is introduced from the PromptViewModel to indicate a
HapticFeedbackConstant to be played in the BiomemtricViewBinder. The binder
collects the flow and plays the indicated haptics. CONFIRM and REJECT
constants are used to indicated success and failure of authentication. A
feature flag controls the migration.
Test: atest PromptViewModelTest
Bug: 245528624
Change-Id: I27e4057e0613ed1b24724ddafd85771da5c3019d
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions