Cancel gesture preview update when gesture typing is canceled
Bug: 7594165 Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003main
parent
d4dbf09241
commit
6f0a60d10d
|
@ -721,6 +721,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
||||||
if (key != null) {
|
if (key != null) {
|
||||||
updateBatchInput(eventTime);
|
updateBatchInput(eventTime);
|
||||||
}
|
}
|
||||||
|
if (mIsTrackingCanceled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -759,6 +762,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (mIsTrackingCanceled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue