mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 52cb409a: Don\'t resize debug array if production
* commit '52cb409ac20fb75547ffbee0b84da2c80e290ee6': Don't resize debug array if production
This commit is contained in:
commit
45c925a9be
@ -285,7 +285,9 @@ final class GesturePreviewTrail {
|
||||
mEventTimes.setLength(newSize);
|
||||
mXCoordinates.setLength(newSize);
|
||||
mYCoordinates.setLength(newSize);
|
||||
mPointTypes.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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user