Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25e9efe4 authored by gaoshang's avatar gaoshang Committed by android-build-merger
Browse files

Merge "use more correct case condition when consume input" am: 050861f9 am:...

Merge "use more correct case condition when consume input" am: 050861f9 am: d0198af6 am: ff99040d
am: 7c870521

Change-Id: I63c3d5d60ca2a9dfe52746c04dfe99f7bfdbaf23
parents 1145a830 7c870521
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);