commit | 2ffb24799e579c47a73c992ab567f05c4bf0c962 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Sep 16 21:41:13 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu Sep 16 21:41:13 2010 -0700 |
tree | f11794d892ddc583de15508619a157568abbd886 | |
parent | 888db4d60bb19033f5d7a20cfd2ba5c318c7d74f [diff] [blame] |
Fix typo which causes sensors to fail miserably Change-Id: Ieca18fc089e2bdf7d049f213836971b54d11cd76
diff --git a/libs/gui/SensorEventQueue.cpp b/libs/gui/SensorEventQueue.cpp index b0d0f12..f935524 100644 --- a/libs/gui/SensorEventQueue.cpp +++ b/libs/gui/SensorEventQueue.cpp
@@ -110,7 +110,7 @@ } } while (result != fd); - return result; + return (result == fd) ? status_t(NO_ERROR) : result; } status_t SensorEventQueue::wake() const