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

Commit 52cb409a authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Don't resize debug array if production

Bug: 8556775
Change-Id: I46a10f8dc938cab493933f0f2b4e1f7779b24f6f
parent b2c4c730
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -285,7 +285,9 @@ final class GesturePreviewTrail {
            mEventTimes.setLength(newSize);
            mXCoordinates.setLength(newSize);
            mYCoordinates.setLength(newSize);
            if (DBG_SHOW_POINTS) {
                mPointTypes.setLength(newSize);
            }
            // The start index of the last segment of the stroke
            // {@link mLastInterpolatedDrawIndex} should also be updated because all array
            // elements have just been shifted for compaction or been zeroed.