commit | 4b54b1fc491895adec637d0346dad1628cb601fb | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Jun 10 16:38:34 2021 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Fri Jun 11 12:29:11 2021 +0100 |
tree | a5502312463487223b3b9e0033c4593620d0b3b6 | |
parent | 083efb0be16555b07d670ed710848eb9d2e86342 [diff] |
Fix vibrator VTS failure on older HAL versions Fix tests to expect STATUS_UNKNOWN_TRANSACTION as well as EX_UNSUPPORTED_OPERATION when the vibrator does not have a capability required for the method being tested. Older versions of the HAL will return that status code instead of unsupported, as explained at: https://source.android.com/devices/architecture/aidl/stable-aidl#versioning-interfaces Fix: 190526054 Test: VtsHalVibratorTargetTest & VtsHalVibratorManagerTargetTest Change-Id: I538843fbbdbf8353cd57f1c83392baeabdcbadd2