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

Commit ef2efcc5 authored by Felix Stern's avatar Felix Stern
Browse files

Fixing documentation of InputConnection#commitText

Fix: 317899896
Change-Id: Id654facdce87df804ffd1cb1d86a1d5558c1114e
Flag: EXEMPT only changing documentation
Test: none
parent 233574e2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -625,8 +625,7 @@ public interface InputConnection {
     *        the text you are providing so it is not possible to correctly
     *        specify locations there.
     * @param textAttribute The extra information about the text.
     * @return true on success, false if the input connection is no longer
     *
     * @return true on success, false if the input connection is no longer valid.
     */
    default boolean setComposingText(@NonNull CharSequence text, int newCursorPosition,
            @Nullable TextAttribute textAttribute) {
@@ -753,7 +752,7 @@ public interface InputConnection {
     *        you are providing so it is not possible to correctly specify
     *        locations there.
     * @param textAttribute The extra information about the text.
     * @return true on success, false if the input connection is no longer
     * @return true on success, false if the input connection is no longer valid.
     */
    default boolean commitText(@NonNull CharSequence text, int newCursorPosition,
            @Nullable TextAttribute textAttribute) {