diff options
| author | 2024-02-16 17:49:36 +0000 | |
|---|---|---|
| committer | 2024-02-16 18:26:13 +0000 | |
| commit | 641248efeb103c47a1fd170fbf8bba7d35673151 (patch) | |
| tree | 036eeba49446ecafaf8b688b3a538d613d2b2c7e /libs/battery/MultiStateCounterTest.cpp | |
| parent | f8680e6d01b64ea8745b8c0aa335e6a4b54d8958 (diff) | |
Fix retry logic for vibrator HAL requests
Update VibratorHalController to only reconnect with the IVibrator HAL
service and retry the operation if a transaction error or dead object
code is received.
This will avoid retrying vibrator calls with bad values when the error
code is illegal argument, for example, or when the vibrator is
returning illegal state.
Bug: 325204954
Test: atest libvibratorservice_test
Change-Id: I6764c736a64745ada5233329372d5c22f4e8aa74
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions