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,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) {