Build fix SensorEventQueue.

Change-Id: I3e6ba031d42bd37067591771f378b7185169ab48
This commit is contained in:
Aravind Akella 2015-04-24 20:30:09 -07:00
parent 579529130d
commit 63a0f42823

View File

@ -154,7 +154,7 @@ status_t SensorEventQueue::injectSensorEvent(const ASensorEvent& event) {
ssize_t size = ::send(mSensorChannel->getFd(), &event, sizeof(event), MSG_NOSIGNAL); ssize_t size = ::send(mSensorChannel->getFd(), &event, sizeof(event), MSG_NOSIGNAL);
if (size < 0) { if (size < 0) {
ALOGE("injectSensorEvent failure %zd %d", size, mSensorChannel->getFd()); ALOGE("injectSensorEvent failure %zd %d", size, mSensorChannel->getFd());
return size; return INVALID_OPERATION;
} }
return NO_ERROR; return NO_ERROR;
} }