Fix javadoc for replaceText

Bug: 254278543
Test: atest FrameworksCoreTests:BaseInputConnectionTest
Test: atest CtsInputMethodTestCases:BaseInputConnectionTest
Change-Id: I7429d2b77d9f45c99f0b76808271ba61ad1612ae
This commit is contained in:
Lan Wei
2022-10-19 18:06:19 +08:00
parent d4e00f7110
commit 08811aeb33

View File

@@ -777,7 +777,7 @@ final class IRemoteInputConnectionInvoker {
}
/**
* Invokes {@link IRemoteInputConnection#replaceText(InputConnectionCommandHeader, int, int,
* Invokes {@code IRemoteInputConnection#replaceText(InputConnectionCommandHeader, int, int,
* CharSequence, TextAttribute)}.
*
* @param start the character index where the replacement should start.
@@ -788,6 +788,8 @@ final class IRemoteInputConnectionInvoker {
* that this means you can't position the cursor within the text.
* @param text the text to replace. This may include styles.
* @param textAttribute The extra information about the text. This value may be null.
* @return {@code true} if the invocation is completed without {@link RemoteException}, {@code
* false} otherwise.
*/
@AnyThread
public boolean replaceText(