OSDN Git Service

DO NOT MERGE ANYWHERE 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>
Tue, 19 Jul 2016 23:43:21 +0000 (16:43 -0700)
commit877af59f24fb50fa0f5a3454ba79f382e614cf20
tree60fd24d9cb59403b7845a8cdb5016030692cc688
parent9de98af266ab4b15a539950da67dfa3b1cfaadf8
DO NOT MERGE ANYWHERE 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