Dismiss key preview immediately when Keyboard is closing

Bug: 6595594
Change-Id: I52311369929862b17879cd15fdee3598179eedbb
main
Tadashi G. Takaoka 2012-06-04 15:23:53 +09:00
parent 8cf3654a93
commit fe824948bb
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);
}
}