diff options
| author | 2017-08-14 00:40:06 +0000 | |
|---|---|---|
| committer | 2017-08-14 00:40:06 +0000 | |
| commit | 3992ea1b2d2c2844261aedd6eecc8be7e48b9b9a (patch) | |
| tree | 8a89d8cab3d584ed464d14a3f371e3e57ea532aa | |
| parent | cd77f547ee3838a1e415178074283c6ee8e9fe44 (diff) | |
| parent | 75571fe9d54400636b1d5e2f04fd8838b34efc5e (diff) | |
Merge "use more correct case condition when consume input" am: 050861f957 am: d0198af634 am: ff99040d10
am: 75571fe9d5
Change-Id: I59da74e0e43b59e0ab559cb4a35653c98b530d02
| -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 d5c592752e..63e98bb540 100644 --- a/libs/input/InputTransport.cpp +++ b/libs/input/InputTransport.cpp @@ -450,7 +450,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); |