Introduce predefined effect fallback to DeviceAdapter
Move predefined vibration effect fallback logic out of the VibrationThread into the DeviceAdapter, since now the supported effects are known beforehand via IVibrator AIDL APIs. Fix tests to check fallback behavior still works with feature flag, playing the expected fallback effect right away. Bug: 423560263 Flag: android.os.vibrator.remove_hidl_support Test: FrameworksVibratorServicesTests Change-Id: If31bb772db4453a8bfede2cc09e93785c90ad8d3
Loading
Please register or sign in to comment