Merge "Cancel selection animation when new selection arrives"
This commit is contained in:
committed by
Android (Google) Code Review
commit
268f971575
@@ -148,6 +148,9 @@ public final class SelectionActionModeHelper {
|
||||
startSelectionActionMode(null);
|
||||
} else {
|
||||
resetTextClassificationHelper();
|
||||
if (mSmartSelectSprite != null && mSmartSelectSprite.isAnimationActive()) {
|
||||
mSmartSelectSprite.cancelAnimation();
|
||||
}
|
||||
mTextClassificationAsyncTask = new TextClassificationAsyncTask(
|
||||
mTextView,
|
||||
mTextClassificationHelper.getTimeoutDuration(),
|
||||
|
||||
Reference in New Issue
Block a user