Dismiss key preview immediately when Keyboard is closing
Bug: 6595594 Change-Id: I52311369929862b17879cd15fdee3598179eedbb
This commit is contained in:
parent
8cf3654a93
commit
fe824948bb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue