Dismiss key preview regardless of key preview settings

Bug: 5099213
Change-Id: Id6c5cb0ae4a07897b34153d4b350b1b45a06aa1a
This commit is contained in:
Tadashi G. Takaoka 2011-07-29 19:52:49 -07:00
parent 364f1fd1f8
commit 97c35650ad

View file

@ -754,10 +754,8 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
@Override
public void dismissKeyPreview(PointerTracker tracker) {
if (mShowKeyPreviewPopup) {
mDrawingHandler.cancelShowKeyPreview(tracker);
mDrawingHandler.dismissKeyPreview(mDelayAfterPreview, tracker);
}
mDrawingHandler.cancelShowKeyPreview(tracker);
mDrawingHandler.dismissKeyPreview(mDelayAfterPreview, tracker);
}
private void addKeyPreview(TextView keyPreview) {