diff options
author | Mathias Agopian <mathias@google.com> | 2010-09-16 21:41:13 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-09-16 21:41:13 -0700 |
commit | 36f429d300be2550d7459b488dfc05b00ec59312 (patch) | |
tree | b0140340e8e76a98677b601897c6fc4abd998d1a /libs/gui/SensorEventQueue.cpp | |
parent | 0f5843069bd419fba4fb253986645dfbca0784b7 (diff) |
Fix typo which causes sensors to fail miserably
Change-Id: Ieca18fc089e2bdf7d049f213836971b54d11cd76
Diffstat (limited to 'libs/gui/SensorEventQueue.cpp')
-rw-r--r-- | libs/gui/SensorEventQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SensorEventQueue.cpp b/libs/gui/SensorEventQueue.cpp index b0d0f12c6b16..f9355249ab92 100644 --- a/libs/gui/SensorEventQueue.cpp +++ b/libs/gui/SensorEventQueue.cpp @@ -110,7 +110,7 @@ status_t SensorEventQueue::waitForEvent() const } } while (result != fd); - return result; + return (result == fd) ? status_t(NO_ERROR) : result; } status_t SensorEventQueue::wake() const |