Cancel gesture preview update when gesture typing is canceled

Bug: 7594165
Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003
main
Tadashi G. Takaoka 2012-12-03 14:42:26 +09:00
parent d4dbf09241
commit 6f0a60d10d
1 changed files with 6 additions and 0 deletions

View File

@ -721,6 +721,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
if (key != null) {
updateBatchInput(eventTime);
}
if (mIsTrackingCanceled) {
return;
}
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
}
@ -759,6 +762,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
}
}
}
if (mIsTrackingCanceled) {
return;
}
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
}