summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author satok <satok@google.com> 2011-06-02 20:59:14 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-06-02 20:59:14 -0700
commitb1b2e2275ff0e475df5c5614bb0d7965ebef90ae (patch)
tree5089022e3e9c9d3146ffa5ea3729f8de392c857f
parent7e7248f2df342cf902d1110e4b90892bc23f8bfd (diff)
parent560bcb34fad8bfe642d9ab6f38d973185d253af5 (diff)
Merge "Update internal states stored in InputMethodManager properly"
-rw-r--r--core/java/android/view/inputmethod/InputMethodManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java
index ea66d6761c52..4df237b60783 100644
--- a/core/java/android/view/inputmethod/InputMethodManager.java
+++ b/core/java/android/view/inputmethod/InputMethodManager.java
@@ -1024,13 +1024,13 @@ public final class InputMethodManager {
if (DEBUG) Log.v(TAG, "START INPUT: " + view + " ic="
+ ic + " tba=" + tba + " initial=" + initial);
InputBindResult res = mService.startInput(mClient,
- servedContext, tba, initial, mCurMethod == null);
+ servedContext, tba, initial, true);
if (DEBUG) Log.v(TAG, "Starting input: Bind result=" + res);
if (res != null) {
if (res.id != null) {
mBindSequence = res.sequence;
mCurMethod = res.method;
- } else {
+ } else if (mCurMethod == null) {
// This means there is no input method available.
if (DEBUG) Log.v(TAG, "ABORT input: no input method!");
return;