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
Loading
Please register or sign in to comment