Fix bug in KeyPreviewChoreographer.dismissKeyPreview

Bug: 12979147
Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
main
Tadashi G. Takaoka 2014-02-12 14:48:09 +09:00
parent 2089afd257
commit 7e9b0b42bf
1 changed files with 2 additions and 1 deletions

View File

@ -101,10 +101,11 @@ public final class KeyPreviewChoreographer {
if (tag instanceof KeyPreviewAnimations) { if (tag instanceof KeyPreviewAnimations) {
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag; final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
animation.startDismiss(); animation.startDismiss();
return;
} }
return;
} }
// Dismiss preview without animation. // Dismiss preview without animation.
mShowingKeyPreviewTextViews.remove(key);
if (tag instanceof Animator) { if (tag instanceof Animator) {
((Animator)tag).cancel(); ((Animator)tag).cancel();
} }