Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 624eb18e authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent 6df5bbe7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment