Using performHapticFeedback on ChipbarCoordinator.
Moving towards new haptics API that triggers haptics directly from the UI thread. The ChipbardInfo class has been expanded to include an integer constant used as a parameter of performHapticFeedback in the VibratorHelper. The changes are controlled by a feature flag. Test: A new test was added to ChipbarCoordinatorTest to verify that the new method is used when ChipbarInfo contains a constant to be played. Bug: 245528624 Change-Id: I6d57551dd3941da7695cdb9f32360d6ee0cb726c
Loading
Please register or sign in to comment