From b9f219c935afc9f93a31452fbc159c80dfe63745 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 21 Jan 2013 14:26:19 +0900 Subject: [PATCH] Remove unused Keyboard.purgeKeyboardAndClosing method Change-Id: Ia09ac04b0edca2a22d64ba83e054b115fe8851a6 --- java/src/com/android/inputmethod/keyboard/KeyboardView.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index b7584d4cd..7fc68e061 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java @@ -1029,6 +1029,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy, cancelAllMessages(); onCancelMoreKeysPanel(); mInvalidateAllKeys = true; + mKeyboard = null; requestLayout(); } @@ -1062,11 +1063,6 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy, return false; } - public void purgeKeyboardAndClosing() { - mKeyboard = null; - closing(); - } - @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow();