* commit 'e10de072d50cbe6984151cbbdba4dd2f2e8310b9': (Do not merge) Backport a fix for InputMethodManager.java
This commit is contained in:
@@ -998,13 +998,13 @@ public final class InputMethodManager {
|
|||||||
if (DEBUG) Log.v(TAG, "START INPUT: " + view + " ic="
|
if (DEBUG) Log.v(TAG, "START INPUT: " + view + " ic="
|
||||||
+ ic + " tba=" + tba + " initial=" + initial);
|
+ ic + " tba=" + tba + " initial=" + initial);
|
||||||
InputBindResult res = mService.startInput(mClient,
|
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 (DEBUG) Log.v(TAG, "Starting input: Bind result=" + res);
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
if (res.id != null) {
|
if (res.id != null) {
|
||||||
mBindSequence = res.sequence;
|
mBindSequence = res.sequence;
|
||||||
mCurMethod = res.method;
|
mCurMethod = res.method;
|
||||||
} else {
|
} else if (mCurMethod == null) {
|
||||||
// This means there is no input method available.
|
// This means there is no input method available.
|
||||||
if (DEBUG) Log.v(TAG, "ABORT input: no input method!");
|
if (DEBUG) Log.v(TAG, "ABORT input: no input method!");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user