diff options
| author | 2011-06-02 20:59:14 -0700 | |
|---|---|---|
| committer | 2011-06-02 20:59:14 -0700 | |
| commit | b1b2e2275ff0e475df5c5614bb0d7965ebef90ae (patch) | |
| tree | 5089022e3e9c9d3146ffa5ea3729f8de392c857f | |
| parent | 7e7248f2df342cf902d1110e4b90892bc23f8bfd (diff) | |
| parent | 560bcb34fad8bfe642d9ab6f38d973185d253af5 (diff) | |
Merge "Update internal states stored in InputMethodManager properly"
| -rw-r--r-- | core/java/android/view/inputmethod/InputMethodManager.java | 4 |
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; |