commit | 7e9b0b42bfd5c51f4bc236a73df3f14cf583c989 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Wed Feb 12 14:48:09 2014 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Wed Feb 12 14:50:56 2014 +0900 |
tree | 53c62c21132a6864d728f82019837110c5bcd75b | |
parent | 2089afd2578558c803b62c886f6b315df5d4cbdc [diff] |
Fix bug in KeyPreviewChoreographer.dismissKeyPreview Bug: 12979147 Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java b/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java index ff197ba..625d1f0 100644 --- a/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java
@@ -101,10 +101,11 @@ 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(); }