Skip to content
Commit 25cba56e authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Using View.performHapticFeedback on Back Panel Controller when the back gesture is handled

Migration towards the new one-way API that can trigger haptic feedback from the UI thread. Calls to cancel vibrations and vibrations triggered in a separate thread (old API) have been replaced by calls to performHapticFeedback directly from the UI thread. Delaying cancellations and delayed haptics is no longer necessary. The migration is controlled by a feature flag at the moment.

Test: Tests that handled back gesture-committed and -cancelled now verify different method calls from the VibratorHelper depending on the feature flag.
Bug: 245528624
Change-Id: I5e3b8d67f26cd7002d2372f116ec2601053c4328
parent 5f4429ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment