Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0866661c authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent df1625fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment