From b2a0e0509a4f8415d21c8f7835038fd66859338c Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Sun, 14 Jan 2018 16:06:16 -0800 Subject: [PATCH] Fix JavaDoc errors Test: make -j checkbuild Change-Id: Id68ebd3588cd286c821da49e3bda4299d311e8b9 --- .../android/inputmethodservice/InputMethodService.java | 2 +- .../android/view/inputmethod/InputMethodManager.java | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index 8937490091d0..38d42e91162f 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -2754,7 +2754,7 @@ public class InputMethodService extends AbstractInputMethodService { * application. * This cannot be {@code null}. * @param inputConnection {@link InputConnection} with which - * {@link InputConnection#commitContent(InputContentInfo, Bundle)} will be called. + * {@link InputConnection#commitContent(InputContentInfo, int, Bundle)} will be called. * @hide */ @Override diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index 80d7b6b7b7b2..358625b4e13a 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -337,20 +337,23 @@ public final class InputMethodManager { int mCursorCandEnd; /** - * Represents an invalid action notification sequence number. {@link InputMethodManagerService} - * always issues a positive integer for action notification sequence numbers. Thus -1 is - * guaranteed to be different from any valid sequence number. + * Represents an invalid action notification sequence number. + * {@link com.android.server.InputMethodManagerService} always issues a positive integer for + * action notification sequence numbers. Thus {@code -1} is guaranteed to be different from any + * valid sequence number. */ private static final int NOT_AN_ACTION_NOTIFICATION_SEQUENCE_NUMBER = -1; /** - * The next sequence number that is to be sent to {@link InputMethodManagerService} via + * The next sequence number that is to be sent to + * {@link com.android.server.InputMethodManagerService} via * {@link IInputMethodManager#notifyUserAction(int)} at once when a user action is observed. */ private int mNextUserActionNotificationSequenceNumber = NOT_AN_ACTION_NOTIFICATION_SEQUENCE_NUMBER; /** - * The last sequence number that is already sent to {@link InputMethodManagerService}. + * The last sequence number that is already sent to + * {@link com.android.server.InputMethodManagerService}. */ private int mLastSentUserActionNotificationSequenceNumber = NOT_AN_ACTION_NOTIFICATION_SEQUENCE_NUMBER; @@ -2429,8 +2432,8 @@ public final class InputMethodManager { * Allow the receiver of {@link InputContentInfo} to obtain a temporary read-only access * permission to the content. * - *

See {@link android.inputmethodservice.InputMethodService#exposeContent(InputContentInfo, EditorInfo)} - * for details.

+ *

See {@link android.inputmethodservice.InputMethodService#exposeContent(InputContentInfo, + * InputConnection)} for details.

* * @param token Supplies the identifying token given to an input method when it was started, * which allows it to perform this operation on itself. -- 2.11.0