Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"
This commit is contained in:
commit
dd6ba4b184
1 changed files with 2 additions and 1 deletions
|
@ -101,10 +101,11 @@ public final class KeyPreviewChoreographer {
|
|||
if (tag instanceof KeyPreviewAnimations) {
|
||||
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
|
||||
animation.startDismiss();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Dismiss preview without animation.
|
||||
mShowingKeyPreviewTextViews.remove(key);
|
||||
if (tag instanceof Animator) {
|
||||
((Animator)tag).cancel();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue