diff options
Diffstat (limited to 'sensors/1.0/default/Sensors.cpp')
-rw-r--r-- | sensors/1.0/default/Sensors.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sensors/1.0/default/Sensors.cpp b/sensors/1.0/default/Sensors.cpp index 37e2b81d9b..24573109c2 100644 --- a/sensors/1.0/default/Sensors.cpp +++ b/sensors/1.0/default/Sensors.cpp @@ -165,8 +165,9 @@ Return<void> Sensors::poll(int32_t maxCount, poll_cb _hidl_cb) { if(!lock.owns_lock()){ // cannot get the lock, hidl service will go into deadlock if it is not restarted. // This is guaranteed to not trigger in passthrough mode. - LOG(FATAL) << + LOG(ERROR) << "ISensors::poll() re-entry. I do not know what to do except killing myself."; + ::exit(-1); } if (maxCount <= 0) { |