diff options
| author | 2023-07-20 16:52:16 +0000 | |
|---|---|---|
| committer | 2023-07-24 16:58:38 +0000 | |
| commit | 25cba56e6dc12a3d215f04ae44bf05af693c5c8b (patch) | |
| tree | 39dbdd8b840171da3f64bd562ff98b24f942dd85 /libs/androidfw/FileStream.cpp | |
| parent | 5f4429aef6b667a665e3c73ee048e2e61e36a099 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions