Don't show gesture preview trail while detecting gesture input
Bug: 7166222 Change-Id: Iecc8403a4eca305323ed8c8e17266d23172d84d9main
parent
d7fdc730c3
commit
9c5d165e9c
|
@ -545,13 +545,14 @@ public class PointerTracker implements PointerTrackerQueue.Element {
|
|||
}
|
||||
|
||||
private void startBatchInput() {
|
||||
if (!sInGesture && mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
|
||||
if (sInGesture || !mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
|
||||
return;
|
||||
}
|
||||
if (DEBUG_LISTENER) {
|
||||
Log.d(TAG, "onStartBatchInput");
|
||||
}
|
||||
sInGesture = true;
|
||||
mListener.onStartBatchInput();
|
||||
}
|
||||
final boolean isOldestTracker = sPointerTrackerQueue.getOldestElement() == this;
|
||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTracker);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue