commit | f20b1449d7f7d6171c54212763fba6e31543fe0a | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Nov 19 15:14:10 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Wed Dec 02 14:20:57 2020 +0000 |
tree | 34b5de180efde36b3ff326aebf85d2a225c39742 | |
parent | 98c970364932f914cfcdac5a10cb6d2cfacf5836 [diff] |
Introduce controller for VibratorManager HAL This controller will automatically reconnect to IVibratorManager when HAL service fails, and also falls back to legacy VibratorManager when the HAL service is not available on the device. This change also simplifies the HalConnector logic in both vibrator controllers. Bug: 167946816 Test: atest libvibratorservice_test Change-Id: I709227cbb2fb2e1a0fcac32676182d6c9baded88