Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08811aeb authored by Lan Wei's avatar Lan Wei
Browse files

Fix javadoc for replaceText

Bug: 254278543
Test: atest FrameworksCoreTests:BaseInputConnectionTest
Test: atest CtsInputMethodTestCases:BaseInputConnectionTest
Change-Id: I7429d2b77d9f45c99f0b76808271ba61ad1612ae
parent d4e00f71
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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(