Build fix SensorEventQueue.
Change-Id: I3e6ba031d42bd37067591771f378b7185169ab48
This commit is contained in:
parent
579529130d
commit
63a0f42823
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user