am a6c88f10: am fe824948: Dismiss key preview immediately when Keyboard is closing

* commit 'a6c88f106a16fec2e81f87f170e97194c8fa7a3a':
  Dismiss key preview immediately when Keyboard is closing
This commit is contained in:
Tadashi G. Takaoka 2012-06-04 00:07:17 -07:00 committed by Android Git Automerger
commit 236c2c3987

View file

@ -19,6 +19,7 @@ package com.android.inputmethod.keyboard;
import android.os.SystemClock;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.TextView;
import com.android.inputmethod.keyboard.internal.PointerTrackerQueue;
@ -213,6 +214,7 @@ public class PointerTracker {
public static void dismissAllKeyPreviews() {
for (final PointerTracker tracker : sTrackers) {
tracker.getKeyPreviewText().setVisibility(View.INVISIBLE);
tracker.setReleasedKeyGraphics(tracker.mCurrentKey);
}
}