summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-12-31 03:28:35 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-31 03:28:35 -0800
commit611044ab30769db75ce7f7d1b0a30379b7ef78c6 (patch)
tree249f2b6ec8f0aba149751ef07cd405fa4b928ae0 /java/src/com/android/inputmethod/keyboard/KeyboardView.java
parent1a6fba570260ca9f837e5a6874274f39a3c0a734 (diff)
parent5f922caff80d5067c5af2bbbae2731ef25c9572a (diff)
Merge "Snap back to the previous keyboard when sliding input is canceled"
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/KeyboardView.java')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyboardView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
index dd552f0fc..e0835d7ed 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -550,7 +550,7 @@ public class KeyboardView extends View implements PointerTracker.UIProxy {
}
/**
- * When enabled, calls to {@link KeyboardActionListener#onKey} will include key
+ * When enabled, calls to {@link KeyboardActionListener#onCodeInput} will include key
* codes for adjacent keys. When disabled, only the primary key code will be
* reported.
* @param enabled whether or not the proximity correction is enabled
@@ -1106,6 +1106,7 @@ public class KeyboardView extends View implements PointerTracker.UIProxy {
@Override
public void onCancelInput() {
+ mKeyboardActionListener.onCancelInput();
dismissPopupKeyboard();
}