summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2023-08-01 10:21:34 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2023-08-01 11:02:41 -0700
commit0ac981822da297e3eece69869c3d9e7f25c06141 (patch)
tree392ef46e41d7e66a06092db28dcbfbb635474d2c /libs/androidfw/ApkParsing.cpp
parentf966e40a2ee614f713a5f648f3cc0f3859e4bee4 (diff)
Using performHapticFeedback on UdfpsController
Moving towards new haptics API that triggers haptics directly from the UI thread. The UdfpsController can use the new performHapticFeedback method as long as there is an overlay view available. The haptics for when a11y touch exploration is enabled were changed to the CONTEXT_CLICK constant. Consistent with the intended behavior, haptics for the case of an AOD interruption are set to the LONG_PRESS constant. The changes are controlled by a feature flag. Test: Unit tests were added to the UdfpsControllerTest class to verify vibrations when the feature flag is enabled or disabled. The cases verified correspond to AOD interruptions and a11y when touch exploration is enabled. Bug: 245528624 Change-Id: I413b38a7ce0acf8b4c63ba00e4e51173e0cdb805
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions