commit | 36f429d300be2550d7459b488dfc05b00ec59312 | [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 | b0140340e8e76a98677b601897c6fc4abd998d1a | |
parent | 0f5843069bd419fba4fb253986645dfbca0784b7 [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