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

Commit 39f1cd80 authored by Dan Austin's avatar Dan Austin Committed by Android Git Automerger
Browse files

am 9040362b: am fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow...

am 9040362b: am fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow condition triggered upon loop termination in Input.cpp"

* commit '9040362b':
  Eliminate benign overflow condition triggered upon loop termination in Input.cpp
parents 434fbee3 9040362b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -456,7 +456,8 @@ status_t MotionEvent::readFromParcel(Parcel* parcel) {
        properties.toolType = parcel->readInt32();
    }

    while (sampleCount-- > 0) {
    while (sampleCount > 0) {
        sampleCount--;
        mSampleEventTimes.push(parcel->readInt64());
        for (size_t i = 0; i < pointerCount; i++) {
            mSamplePointerCoords.push();