haptic: add VibratorManager API to make haptic feedback based on input
- In VibratorManager, add a hidden API that perform haptic feedback based on the input information specifically, input device id and input source. Note that for the scope of current feature, only input source is taken into consideration. Input device id is reserved for future extension. - Apply the new API in to View's scroll feedback. Flag: android.os.vibrator.haptic_feedback_input_source_customization_enabled Test: atest HapticFeedbackVibrationProviderTest Test: atest VibratorManagerServiceTest Bug: 353625893 Change-Id: I2f319cc955a0a3070c8a6c69961a656320580e8f
Loading
Please register or sign in to comment