diff options
| -rw-r--r-- | libs/input/InputTransport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/InputTransport.cpp b/libs/input/InputTransport.cpp index 293bc25ab5..8b3a1d0d4e 100644 --- a/libs/input/InputTransport.cpp +++ b/libs/input/InputTransport.cpp @@ -446,7 +446,7 @@ status_t InputConsumer::consume(InputEventFactoryInterface* factory, break; } - case AINPUT_EVENT_TYPE_MOTION: { + case InputMessage::TYPE_MOTION: { ssize_t batchIndex = findBatch(mMsg.body.motion.deviceId, mMsg.body.motion.source); if (batchIndex >= 0) { Batch& batch = mBatches.editItemAt(batchIndex); |