diff options
| author | 2017-08-08 17:25:12 +0000 | |
|---|---|---|
| committer | 2017-08-08 17:25:12 +0000 | |
| commit | ff99040d10f56e2c09431c63c826b6f9610b4c69 (patch) | |
| tree | 84062a79a10b9daa0a4e5dd293f2ff9e87af0791 | |
| parent | 5cd3d789b8fd270ee325b5ec749506d1cc8628cc (diff) | |
| parent | d0198af634f557f57d3c541eb00ca8d9a6460408 (diff) | |
Merge "use more correct case condition when consume input" am: 050861f957
am: d0198af634
Change-Id: I3122226de3850a0a834e93444a66c20a726e580e
| -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); |