Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"

This commit is contained in:
Tadashi G. Takaoka 2014-02-12 09:13:37 +00:00 committed by Android (Google) Code Review
commit dd6ba4b184

View file

@ -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();
}