OSDN Git Service

Sensors: MultiHal: ignore errors from poll calls
authorNick Vaccaro <nvaccaro@google.com>
Tue, 19 Jul 2016 17:34:00 +0000 (10:34 -0700)
committerNick Vaccaro <nvaccaro@google.com>
Sat, 6 Aug 2016 04:04:24 +0000 (21:04 -0700)
commit59d9fb4f881a7d3aa313ee49fca1ca35ccd81b0d
tree83a396d4c5712767deaadcaba99846e38e5821b0
parent890a976bb97086501c6e5d88b38389b1f53a6394
Sensors: MultiHal: ignore errors from poll calls

MultiHal was not properly fielding errors from the poll() calls of
sub-HALs.  Propagating errors received from sub-HALs up to Sensor
Services causes Sensor Services to abort, so instead of propagating
the error up to Sensor Services, the MultiHal logs a message to
logcat to fix the sub-HAL problem.

Bug: 30060537
Change-Id: I6e20c193a2f2d228da48cf3d5a23e439eaf663df
modules/sensors/multihal.cpp