Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 236c2c39 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

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

* commit 'a6c88f10':
  Dismiss key preview immediately when Keyboard is closing
parents 9895b815 a6c88f10
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }