commit | cfd8115489f24d9d07079f7bd8e57ca8daade326 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Wed Jul 01 09:00:26 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Tue Jul 14 10:47:33 2020 +0000 |
tree | bac6a7e2ca2aa849055c7df3dcd00bb10945ed94 | |
parent | c6a2f3a47d46c990105d58d6e3707b189605cbc1 [diff] |
Add reconnect method to vibrator HalWrapper This will allow us to keep the wrapper when the vibrator HAL service becomes unavailable (and also keep cached capabilities that won't change for a device). This also makes the connect code in HalController simpler, since it doesn't need to keep as many boolean flags to avoid trying to reconnect to unavailable HAL versions. Bug: b/153418251 Test: atest libvibratorservice_test Change-Id: Ied50dd85a5fbba33d6bc58f73e626bb6df37b362