Loading core/java/android/view/inputmethod/InputMethodManager.java +12 −8 Original line number Original line Diff line number Diff line Loading @@ -655,6 +655,7 @@ public final class InputMethodManager { } catch (RemoteException e) { } catch (RemoteException e) { } } } } } // Check focus again in case that "onWindowFocus" is called before // Check focus again in case that "onWindowFocus" is called before // handling this message. // handling this message. if (mServedView != null && canStartInput(mServedView)) { if (mServedView != null && canStartInput(mServedView)) { Loading @@ -664,7 +665,6 @@ public final class InputMethodManager { startInputInner(reason, null, 0, 0, 0); startInputInner(reason, null, 0, 0, 0); } } } } } return; return; } } case MSG_SEND_INPUT_EVENT: { case MSG_SEND_INPUT_EVENT: { Loading Loading @@ -1225,6 +1225,10 @@ public final class InputMethodManager { */ */ void clearBindingLocked() { void clearBindingLocked() { if (DEBUG) Log.v(TAG, "Clearing binding!"); if (DEBUG) Log.v(TAG, "Clearing binding!"); if (mWindowFocusGainFuture != null) { mWindowFocusGainFuture.cancel(false /* mayInterruptIfRunning */); mWindowFocusGainFuture = null; } clearConnectionLocked(); clearConnectionLocked(); setInputChannelLocked(null); setInputChannelLocked(null); mBindSequence = -1; mBindSequence = -1; Loading Loading
core/java/android/view/inputmethod/InputMethodManager.java +12 −8 Original line number Original line Diff line number Diff line Loading @@ -655,6 +655,7 @@ public final class InputMethodManager { } catch (RemoteException e) { } catch (RemoteException e) { } } } } } // Check focus again in case that "onWindowFocus" is called before // Check focus again in case that "onWindowFocus" is called before // handling this message. // handling this message. if (mServedView != null && canStartInput(mServedView)) { if (mServedView != null && canStartInput(mServedView)) { Loading @@ -664,7 +665,6 @@ public final class InputMethodManager { startInputInner(reason, null, 0, 0, 0); startInputInner(reason, null, 0, 0, 0); } } } } } return; return; } } case MSG_SEND_INPUT_EVENT: { case MSG_SEND_INPUT_EVENT: { Loading Loading @@ -1225,6 +1225,10 @@ public final class InputMethodManager { */ */ void clearBindingLocked() { void clearBindingLocked() { if (DEBUG) Log.v(TAG, "Clearing binding!"); if (DEBUG) Log.v(TAG, "Clearing binding!"); if (mWindowFocusGainFuture != null) { mWindowFocusGainFuture.cancel(false /* mayInterruptIfRunning */); mWindowFocusGainFuture = null; } clearConnectionLocked(); clearConnectionLocked(); setInputChannelLocked(null); setInputChannelLocked(null); mBindSequence = -1; mBindSequence = -1; Loading