Loading core/java/android/inputmethodservice/IInputMethodWrapper.java +2 −2 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class IInputMethodWrapper extends IInputMethod.Stub @BinderThread @Override public void startInput(IBinder startInputToken, IRemoteInputConnection inputConnection, EditorInfo attribute, boolean restarting, EditorInfo editorInfo, boolean restarting, @InputMethodNavButtonFlags int navButtonFlags, @NonNull ImeOnBackInvokedDispatcher imeDispatcher) { if (mCancellationGroup == null) { Loading @@ -361,7 +361,7 @@ class IInputMethodWrapper extends IInputMethod.Stub final SomeArgs args = SomeArgs.obtain(); args.arg1 = startInputToken; args.arg2 = inputConnection; args.arg3 = attribute; args.arg3 = editorInfo; args.argi1 = restarting ? 1 : 0; args.argi2 = navButtonFlags; args.arg4 = imeDispatcher; Loading core/java/android/inputmethodservice/InputMethodService.java +15 −15 Original line number Diff line number Diff line Loading @@ -796,10 +796,10 @@ public class InputMethodService extends AbstractInputMethodService { */ @MainThread @Override public void startInput(InputConnection ic, EditorInfo attribute) { if (DEBUG) Log.v(TAG, "startInput(): editor=" + attribute); public void startInput(InputConnection ic, EditorInfo editorInfo) { if (DEBUG) Log.v(TAG, "startInput(): editor=" + editorInfo); Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMS.startInput"); doStartInput(ic, attribute, false); doStartInput(ic, editorInfo, false); Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER); } Loading @@ -808,10 +808,10 @@ public class InputMethodService extends AbstractInputMethodService { */ @MainThread @Override public void restartInput(InputConnection ic, EditorInfo attribute) { if (DEBUG) Log.v(TAG, "restartInput(): editor=" + attribute); public void restartInput(InputConnection ic, EditorInfo editorInfo) { if (DEBUG) Log.v(TAG, "restartInput(): editor=" + editorInfo); Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMS.restartInput"); doStartInput(ic, attribute, true); doStartInput(ic, editorInfo, true); Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER); } Loading Loading @@ -2315,11 +2315,11 @@ public class InputMethodService extends AbstractInputMethodService { * setup here. You are guaranteed that {@link #onCreateInputView()} will * have been called some time before this function is called. * * @param info Description of the type of text being edited. * @param editorInfo Description of the type of text being edited. * @param restarting Set to true if we are restarting input on the * same text field as before. */ public void onStartInputView(EditorInfo info, boolean restarting) { public void onStartInputView(EditorInfo editorInfo, boolean restarting) { // Intentionally empty } Loading Loading @@ -2360,11 +2360,11 @@ public class InputMethodService extends AbstractInputMethodService { * editor is hidden but wants to show its candidates UI as text is * entered through some other mechanism. * * @param info Description of the type of text being edited. * @param editorInfo Description of the type of text being edited. * @param restarting Set to true if we are restarting input on the * same text field as before. */ public void onStartCandidatesView(EditorInfo info, boolean restarting) { public void onStartCandidatesView(EditorInfo editorInfo, boolean restarting) { // Intentionally empty } Loading Loading @@ -2902,7 +2902,7 @@ public class InputMethodService extends AbstractInputMethodService { unregisterCompatOnBackInvokedCallback(); } void doStartInput(InputConnection ic, EditorInfo attribute, boolean restarting) { void doStartInput(InputConnection ic, EditorInfo editorInfo, boolean restarting) { if (!restarting && mInputStarted) { doFinishInput(); } Loading @@ -2910,13 +2910,13 @@ public class InputMethodService extends AbstractInputMethodService { null /* icProto */); mInputStarted = true; mStartedInputConnection = ic; mInputEditorInfo = attribute; mInputEditorInfo = editorInfo; initialize(); mInlineSuggestionSessionController.notifyOnStartInput( attribute == null ? null : attribute.packageName, attribute == null ? null : attribute.autofillId); editorInfo == null ? null : editorInfo.packageName, editorInfo == null ? null : editorInfo.autofillId); if (DEBUG) Log.v(TAG, "CALL: onStartInput"); onStartInput(attribute, restarting); onStartInput(editorInfo, restarting); if (mDecorViewVisible) { if (mShowInputRequested) { if (DEBUG) Log.v(TAG, "CALL: onStartInputView"); Loading core/java/android/view/inputmethod/InputMethod.java +4 −4 Original line number Diff line number Diff line Loading @@ -182,13 +182,13 @@ public interface InputMethod { * @param inputConnection Optional specific input connection for * communicating with the text box; if null, you should use the generic * bound input connection. * @param info Information about the text box (typically, an EditText) * @param editorInfo Information about the text box (typically, an EditText) * that requests input. * * @see EditorInfo */ @MainThread public void startInput(InputConnection inputConnection, EditorInfo info); public void startInput(InputConnection inputConnection, EditorInfo editorInfo); /** * This method is called when the state of this input method needs to be Loading @@ -201,13 +201,13 @@ public interface InputMethod { * @param inputConnection Optional specific input connection for * communicating with the text box; if null, you should use the generic * bound input connection. * @param attribute The attribute of the text box (typically, a EditText) * @param editorInfo The attribute of the text box (typically, a EditText) * that requests input. * * @see EditorInfo */ @MainThread public void restartInput(InputConnection inputConnection, EditorInfo attribute); public void restartInput(InputConnection inputConnection, EditorInfo editorInfo); /** * This method is called when {@code {@link #startInput(InputConnection, EditorInfo)} or Loading core/java/android/view/inputmethod/InputMethodManager.java +21 −21 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ public final class InputMethodManager { * the attributes that were last retrieved from the served view and given * to the input connection. */ EditorInfo mCurrentTextBoxAttribute; EditorInfo mCurrentEditorInfo; /** * The InputConnection that was last retrieved from the served view. */ Loading Loading @@ -658,7 +658,7 @@ public final class InputMethodManager { "InputMethodManager.DelegateImpl#startInput", InputMethodManager.this, null /* icProto */); synchronized (mH) { mCurrentTextBoxAttribute = null; mCurrentEditorInfo = null; mCompletions = null; mServedConnecting = true; } Loading Loading @@ -1598,7 +1598,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { return hasServedByInputMethodLocked(view) && mCurrentTextBoxAttribute != null; return hasServedByInputMethodLocked(view) && mCurrentEditorInfo != null; } } Loading @@ -1608,7 +1608,7 @@ public final class InputMethodManager { public boolean isActive() { checkFocus(); synchronized (mH) { return getServedViewLocked() != null && mCurrentTextBoxAttribute != null; return getServedViewLocked() != null && mCurrentEditorInfo != null; } } Loading Loading @@ -1692,7 +1692,7 @@ public final class InputMethodManager { * to an input method */ void clearConnectionLocked() { mCurrentTextBoxAttribute = null; mCurrentEditorInfo = null; if (mServedInputConnection != null) { mServedInputConnection.deactivate(); mServedInputConnection = null; Loading Loading @@ -2190,7 +2190,7 @@ public final class InputMethodManager { public boolean doInvalidateInput(@NonNull RemoteInputConnectionImpl inputConnection, @NonNull TextSnapshot textSnapshot, int sessionId) { synchronized (mH) { if (mServedInputConnection != inputConnection || mCurrentTextBoxAttribute == null) { if (mServedInputConnection != inputConnection || mCurrentEditorInfo == null) { // OK to ignore because the calling InputConnection is already abandoned. return true; } Loading @@ -2198,7 +2198,7 @@ public final class InputMethodManager { // IME is not yet bound to the client. Need to fall back to the restartInput(). return false; } final EditorInfo editorInfo = mCurrentTextBoxAttribute.createCopyInternal(); final EditorInfo editorInfo = mCurrentEditorInfo.createCopyInternal(); editorInfo.initialSelStart = mCursorSelStart = textSnapshot.getSelectionStart(); editorInfo.initialSelEnd = mCursorSelEnd = textSnapshot.getSelectionEnd(); mCursorCandStart = textSnapshot.getCompositionStart(); Loading Loading @@ -2337,7 +2337,7 @@ public final class InputMethodManager { // This is not an error. Once IME binds (MSG_BIND), InputConnection is fully // established. So we report this to interested recipients. reportInputConnectionOpened( mServedInputConnection.getInputConnection(), mCurrentTextBoxAttribute, mServedInputConnection.getInputConnection(), mCurrentEditorInfo, mServedInputConnectionHandler, view); } return false; Loading @@ -2345,12 +2345,12 @@ public final class InputMethodManager { // If we already have a text box, then this view is already // connected so we want to restart it. if (mCurrentTextBoxAttribute == null) { if (mCurrentEditorInfo == null) { startInputFlags |= StartInputFlags.INITIAL_CONNECTION; } // Hook 'em up and let 'er rip. mCurrentTextBoxAttribute = tba.createCopyInternal(); mCurrentEditorInfo = tba.createCopyInternal(); mServedConnecting = false; if (mServedInputConnection != null) { Loading Loading @@ -2656,7 +2656,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2713,7 +2713,7 @@ public final class InputMethodManager { final boolean focusChanged = servedView != nextServedView; checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2782,7 +2782,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2814,7 +2814,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2864,7 +2864,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -3590,11 +3590,11 @@ public final class InputMethodManager { p.println(" mServedView=" + getServedViewLocked()); p.println(" mNextServedView=" + getNextServedViewLocked()); p.println(" mServedConnecting=" + mServedConnecting); if (mCurrentTextBoxAttribute != null) { p.println(" mCurrentTextBoxAttribute:"); mCurrentTextBoxAttribute.dump(p, " ", false /* dumpExtras */); if (mCurrentEditorInfo != null) { p.println(" mCurrentEditorInfo:"); mCurrentEditorInfo.dump(p, " ", false /* dumpExtras */); } else { p.println(" mCurrentTextBoxAttribute: null"); p.println(" mCurrentEditorInfo: null"); } p.println(" mServedInputConnection=" + mServedInputConnection); p.println(" mServedInputConnectionHandler=" + mServedInputConnectionHandler); Loading Loading @@ -3717,8 +3717,8 @@ public final class InputMethodManager { if (mCurRootView != null) { mCurRootView.dumpDebug(proto, VIEW_ROOT_IMPL); } if (mCurrentTextBoxAttribute != null) { mCurrentTextBoxAttribute.dumpDebug(proto, EDITOR_INFO); if (mCurrentEditorInfo != null) { mCurrentEditorInfo.dumpDebug(proto, EDITOR_INFO); } if (mImeInsetsConsumer != null) { mImeInsetsConsumer.dumpDebug(proto, IME_INSETS_SOURCE_CONSUMER); Loading core/java/com/android/internal/inputmethod/IInputMethod.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ oneway interface IInputMethod { void unbindInput(); void startInput(in IBinder startInputToken, in IRemoteInputConnection inputConnection, in EditorInfo attribute, boolean restarting, int navigationBarFlags, in EditorInfo editorInfo, boolean restarting, int navigationBarFlags, in ImeOnBackInvokedDispatcher imeDispatcher); void onNavButtonFlagsChanged(int navButtonFlags); Loading Loading
core/java/android/inputmethodservice/IInputMethodWrapper.java +2 −2 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class IInputMethodWrapper extends IInputMethod.Stub @BinderThread @Override public void startInput(IBinder startInputToken, IRemoteInputConnection inputConnection, EditorInfo attribute, boolean restarting, EditorInfo editorInfo, boolean restarting, @InputMethodNavButtonFlags int navButtonFlags, @NonNull ImeOnBackInvokedDispatcher imeDispatcher) { if (mCancellationGroup == null) { Loading @@ -361,7 +361,7 @@ class IInputMethodWrapper extends IInputMethod.Stub final SomeArgs args = SomeArgs.obtain(); args.arg1 = startInputToken; args.arg2 = inputConnection; args.arg3 = attribute; args.arg3 = editorInfo; args.argi1 = restarting ? 1 : 0; args.argi2 = navButtonFlags; args.arg4 = imeDispatcher; Loading
core/java/android/inputmethodservice/InputMethodService.java +15 −15 Original line number Diff line number Diff line Loading @@ -796,10 +796,10 @@ public class InputMethodService extends AbstractInputMethodService { */ @MainThread @Override public void startInput(InputConnection ic, EditorInfo attribute) { if (DEBUG) Log.v(TAG, "startInput(): editor=" + attribute); public void startInput(InputConnection ic, EditorInfo editorInfo) { if (DEBUG) Log.v(TAG, "startInput(): editor=" + editorInfo); Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMS.startInput"); doStartInput(ic, attribute, false); doStartInput(ic, editorInfo, false); Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER); } Loading @@ -808,10 +808,10 @@ public class InputMethodService extends AbstractInputMethodService { */ @MainThread @Override public void restartInput(InputConnection ic, EditorInfo attribute) { if (DEBUG) Log.v(TAG, "restartInput(): editor=" + attribute); public void restartInput(InputConnection ic, EditorInfo editorInfo) { if (DEBUG) Log.v(TAG, "restartInput(): editor=" + editorInfo); Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMS.restartInput"); doStartInput(ic, attribute, true); doStartInput(ic, editorInfo, true); Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER); } Loading Loading @@ -2315,11 +2315,11 @@ public class InputMethodService extends AbstractInputMethodService { * setup here. You are guaranteed that {@link #onCreateInputView()} will * have been called some time before this function is called. * * @param info Description of the type of text being edited. * @param editorInfo Description of the type of text being edited. * @param restarting Set to true if we are restarting input on the * same text field as before. */ public void onStartInputView(EditorInfo info, boolean restarting) { public void onStartInputView(EditorInfo editorInfo, boolean restarting) { // Intentionally empty } Loading Loading @@ -2360,11 +2360,11 @@ public class InputMethodService extends AbstractInputMethodService { * editor is hidden but wants to show its candidates UI as text is * entered through some other mechanism. * * @param info Description of the type of text being edited. * @param editorInfo Description of the type of text being edited. * @param restarting Set to true if we are restarting input on the * same text field as before. */ public void onStartCandidatesView(EditorInfo info, boolean restarting) { public void onStartCandidatesView(EditorInfo editorInfo, boolean restarting) { // Intentionally empty } Loading Loading @@ -2902,7 +2902,7 @@ public class InputMethodService extends AbstractInputMethodService { unregisterCompatOnBackInvokedCallback(); } void doStartInput(InputConnection ic, EditorInfo attribute, boolean restarting) { void doStartInput(InputConnection ic, EditorInfo editorInfo, boolean restarting) { if (!restarting && mInputStarted) { doFinishInput(); } Loading @@ -2910,13 +2910,13 @@ public class InputMethodService extends AbstractInputMethodService { null /* icProto */); mInputStarted = true; mStartedInputConnection = ic; mInputEditorInfo = attribute; mInputEditorInfo = editorInfo; initialize(); mInlineSuggestionSessionController.notifyOnStartInput( attribute == null ? null : attribute.packageName, attribute == null ? null : attribute.autofillId); editorInfo == null ? null : editorInfo.packageName, editorInfo == null ? null : editorInfo.autofillId); if (DEBUG) Log.v(TAG, "CALL: onStartInput"); onStartInput(attribute, restarting); onStartInput(editorInfo, restarting); if (mDecorViewVisible) { if (mShowInputRequested) { if (DEBUG) Log.v(TAG, "CALL: onStartInputView"); Loading
core/java/android/view/inputmethod/InputMethod.java +4 −4 Original line number Diff line number Diff line Loading @@ -182,13 +182,13 @@ public interface InputMethod { * @param inputConnection Optional specific input connection for * communicating with the text box; if null, you should use the generic * bound input connection. * @param info Information about the text box (typically, an EditText) * @param editorInfo Information about the text box (typically, an EditText) * that requests input. * * @see EditorInfo */ @MainThread public void startInput(InputConnection inputConnection, EditorInfo info); public void startInput(InputConnection inputConnection, EditorInfo editorInfo); /** * This method is called when the state of this input method needs to be Loading @@ -201,13 +201,13 @@ public interface InputMethod { * @param inputConnection Optional specific input connection for * communicating with the text box; if null, you should use the generic * bound input connection. * @param attribute The attribute of the text box (typically, a EditText) * @param editorInfo The attribute of the text box (typically, a EditText) * that requests input. * * @see EditorInfo */ @MainThread public void restartInput(InputConnection inputConnection, EditorInfo attribute); public void restartInput(InputConnection inputConnection, EditorInfo editorInfo); /** * This method is called when {@code {@link #startInput(InputConnection, EditorInfo)} or Loading
core/java/android/view/inputmethod/InputMethodManager.java +21 −21 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ public final class InputMethodManager { * the attributes that were last retrieved from the served view and given * to the input connection. */ EditorInfo mCurrentTextBoxAttribute; EditorInfo mCurrentEditorInfo; /** * The InputConnection that was last retrieved from the served view. */ Loading Loading @@ -658,7 +658,7 @@ public final class InputMethodManager { "InputMethodManager.DelegateImpl#startInput", InputMethodManager.this, null /* icProto */); synchronized (mH) { mCurrentTextBoxAttribute = null; mCurrentEditorInfo = null; mCompletions = null; mServedConnecting = true; } Loading Loading @@ -1598,7 +1598,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { return hasServedByInputMethodLocked(view) && mCurrentTextBoxAttribute != null; return hasServedByInputMethodLocked(view) && mCurrentEditorInfo != null; } } Loading @@ -1608,7 +1608,7 @@ public final class InputMethodManager { public boolean isActive() { checkFocus(); synchronized (mH) { return getServedViewLocked() != null && mCurrentTextBoxAttribute != null; return getServedViewLocked() != null && mCurrentEditorInfo != null; } } Loading Loading @@ -1692,7 +1692,7 @@ public final class InputMethodManager { * to an input method */ void clearConnectionLocked() { mCurrentTextBoxAttribute = null; mCurrentEditorInfo = null; if (mServedInputConnection != null) { mServedInputConnection.deactivate(); mServedInputConnection = null; Loading Loading @@ -2190,7 +2190,7 @@ public final class InputMethodManager { public boolean doInvalidateInput(@NonNull RemoteInputConnectionImpl inputConnection, @NonNull TextSnapshot textSnapshot, int sessionId) { synchronized (mH) { if (mServedInputConnection != inputConnection || mCurrentTextBoxAttribute == null) { if (mServedInputConnection != inputConnection || mCurrentEditorInfo == null) { // OK to ignore because the calling InputConnection is already abandoned. return true; } Loading @@ -2198,7 +2198,7 @@ public final class InputMethodManager { // IME is not yet bound to the client. Need to fall back to the restartInput(). return false; } final EditorInfo editorInfo = mCurrentTextBoxAttribute.createCopyInternal(); final EditorInfo editorInfo = mCurrentEditorInfo.createCopyInternal(); editorInfo.initialSelStart = mCursorSelStart = textSnapshot.getSelectionStart(); editorInfo.initialSelEnd = mCursorSelEnd = textSnapshot.getSelectionEnd(); mCursorCandStart = textSnapshot.getCompositionStart(); Loading Loading @@ -2337,7 +2337,7 @@ public final class InputMethodManager { // This is not an error. Once IME binds (MSG_BIND), InputConnection is fully // established. So we report this to interested recipients. reportInputConnectionOpened( mServedInputConnection.getInputConnection(), mCurrentTextBoxAttribute, mServedInputConnection.getInputConnection(), mCurrentEditorInfo, mServedInputConnectionHandler, view); } return false; Loading @@ -2345,12 +2345,12 @@ public final class InputMethodManager { // If we already have a text box, then this view is already // connected so we want to restart it. if (mCurrentTextBoxAttribute == null) { if (mCurrentEditorInfo == null) { startInputFlags |= StartInputFlags.INITIAL_CONNECTION; } // Hook 'em up and let 'er rip. mCurrentTextBoxAttribute = tba.createCopyInternal(); mCurrentEditorInfo = tba.createCopyInternal(); mServedConnecting = false; if (mServedInputConnection != null) { Loading Loading @@ -2656,7 +2656,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2713,7 +2713,7 @@ public final class InputMethodManager { final boolean focusChanged = servedView != nextServedView; checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2782,7 +2782,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2814,7 +2814,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -2864,7 +2864,7 @@ public final class InputMethodManager { checkFocus(); synchronized (mH) { if (!hasServedByInputMethodLocked(view) || mCurrentTextBoxAttribute == null if (!hasServedByInputMethodLocked(view) || mCurrentEditorInfo == null || mCurrentInputMethodSession == null) { return; } Loading Loading @@ -3590,11 +3590,11 @@ public final class InputMethodManager { p.println(" mServedView=" + getServedViewLocked()); p.println(" mNextServedView=" + getNextServedViewLocked()); p.println(" mServedConnecting=" + mServedConnecting); if (mCurrentTextBoxAttribute != null) { p.println(" mCurrentTextBoxAttribute:"); mCurrentTextBoxAttribute.dump(p, " ", false /* dumpExtras */); if (mCurrentEditorInfo != null) { p.println(" mCurrentEditorInfo:"); mCurrentEditorInfo.dump(p, " ", false /* dumpExtras */); } else { p.println(" mCurrentTextBoxAttribute: null"); p.println(" mCurrentEditorInfo: null"); } p.println(" mServedInputConnection=" + mServedInputConnection); p.println(" mServedInputConnectionHandler=" + mServedInputConnectionHandler); Loading Loading @@ -3717,8 +3717,8 @@ public final class InputMethodManager { if (mCurRootView != null) { mCurRootView.dumpDebug(proto, VIEW_ROOT_IMPL); } if (mCurrentTextBoxAttribute != null) { mCurrentTextBoxAttribute.dumpDebug(proto, EDITOR_INFO); if (mCurrentEditorInfo != null) { mCurrentEditorInfo.dumpDebug(proto, EDITOR_INFO); } if (mImeInsetsConsumer != null) { mImeInsetsConsumer.dumpDebug(proto, IME_INSETS_SOURCE_CONSUMER); Loading
core/java/com/android/internal/inputmethod/IInputMethod.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ oneway interface IInputMethod { void unbindInput(); void startInput(in IBinder startInputToken, in IRemoteInputConnection inputConnection, in EditorInfo attribute, boolean restarting, int navigationBarFlags, in EditorInfo editorInfo, boolean restarting, int navigationBarFlags, in ImeOnBackInvokedDispatcher imeDispatcher); void onNavButtonFlagsChanged(int navButtonFlags); Loading