am 5e3b9354: Fix the bug that the first gesture preview trail isn\'t drawn

* commit '5e3b93542d2096b0537390996c04a23013e325a5':
  Fix the bug that the first gesture preview trail isn't drawn
main
Tadashi G. Takaoka 2012-08-24 01:54:09 -07:00 committed by Android Git Automerger
commit 8bbd74f204
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class GesturePreviewTrail {
private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);
private int mCurrentStrokeId;
private int mCurrentStrokeId = -1;
private long mCurrentDownTime;
// Use this value as imaginary zero because x-coordinates may be zero.