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
2 files changed