am fe824948: Dismiss key preview immediately when Keyboard is closing

* commit 'fe824948bb5c07dcd0a47221cb5b7b4f2f4365ca':
  Dismiss key preview immediately when Keyboard is closing
main
Tadashi G. Takaoka 2012-06-04 00:04:47 -07:00 committed by Android Git Automerger
commit a6c88f106a
1 changed files with 2 additions and 0 deletions

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