diff options
| author | 2024-08-19 08:56:58 +0000 | |
|---|---|---|
| committer | 2024-08-19 09:25:13 +0000 | |
| commit | ef2efcc5e7aac45da5d51fd5f74cb24ae2be77d0 (patch) | |
| tree | b9cac419298b32f62427e80ea9e5147d52d41bc3 | |
| parent | 233574e2e33e9817e3489d6ab0f898b3393e8ec0 (diff) | |
Fixing documentation of InputConnection#commitText
Fix: 317899896
Change-Id: Id654facdce87df804ffd1cb1d86a1d5558c1114e
Flag: EXEMPT only changing documentation
Test: none
| -rw-r--r-- | core/java/android/view/inputmethod/InputConnection.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/view/inputmethod/InputConnection.java b/core/java/android/view/inputmethod/InputConnection.java index 1840bcb358a0..4742f1ed8219 100644 --- a/core/java/android/view/inputmethod/InputConnection.java +++ b/core/java/android/view/inputmethod/InputConnection.java @@ -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) { |