commit | 0866661c46a5aa477689d6b6c87694315bb13e24 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Fri Aug 07 16:16:31 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Mon Aug 10 13:01:30 2020 +0000 |
tree | 0166466908a54f638d659a6359909ef1f09aba0b | |
parent | df1625fcee96fcf181b96533914ef852503c42e9 [diff] |
Fix result check of IBinder::pingBinder on vibrator HAl wrapper The result is a status_t and should be checked agains the const values listed in include/utils/Error.h. Also adding error message to vibrator::HalResult to allow vibrator::HalController to print underlying failure cause. Bug: b/163027437 Test: atest libvibratorservice_test Change-Id: Ic1c68246c401cd68a16a1d1f2d8e48d179441576