diff options
| author | 2020-08-07 16:16:31 +0000 | |
|---|---|---|
| committer | 2020-08-10 13:01:30 +0000 | |
| commit | 0866661c46a5aa477689d6b6c87694315bb13e24 (patch) | |
| tree | 0166466908a54f638d659a6359909ef1f09aba0b /services/surfaceflinger/RegionSamplingThread.cpp | |
| 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
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions