diff options
author | 2014-02-12 14:48:09 +0900 | |
---|---|---|
committer | 2014-02-12 14:50:56 +0900 | |
commit | 7e9b0b42bfd5c51f4bc236a73df3f14cf583c989 (patch) | |
tree | 53c62c21132a6864d728f82019837110c5bcd75b /java/src | |
parent | 2089afd2578558c803b62c886f6b315df5d4cbdc (diff) | |
download | latinime-7e9b0b42bfd5c51f4bc236a73df3f14cf583c989.tar.gz latinime-7e9b0b42bfd5c51f4bc236a73df3f14cf583c989.tar.xz latinime-7e9b0b42bfd5c51f4bc236a73df3f14cf583c989.zip |
Fix bug in KeyPreviewChoreographer.dismissKeyPreview
Bug: 12979147
Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java b/java/src/com/android/inputmethod/keyboard/internal/KeyPreviewChoreographer.java index ff197ba27..625d1f0a4 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 @@ 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(); } |