Dismiss key preview regardless of key preview settings
Bug: 5099213 Change-Id: Id6c5cb0ae4a07897b34153d4b350b1b45a06aa1a
This commit is contained in:
parent
364f1fd1f8
commit
97c35650ad
1 changed files with 2 additions and 4 deletions
|
@ -754,11 +754,9 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void dismissKeyPreview(PointerTracker tracker) {
|
public void dismissKeyPreview(PointerTracker tracker) {
|
||||||
if (mShowKeyPreviewPopup) {
|
|
||||||
mDrawingHandler.cancelShowKeyPreview(tracker);
|
mDrawingHandler.cancelShowKeyPreview(tracker);
|
||||||
mDrawingHandler.dismissKeyPreview(mDelayAfterPreview, tracker);
|
mDrawingHandler.dismissKeyPreview(mDelayAfterPreview, tracker);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void addKeyPreview(TextView keyPreview) {
|
private void addKeyPreview(TextView keyPreview) {
|
||||||
if (mPreviewPlacer == null) {
|
if (mPreviewPlacer == null) {
|
||||||
|
|
Loading…
Reference in a new issue