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

Commit 4a6ae54a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clarify on return value of IC#setImeConsumesInput()" into sc-dev am: 16065df2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15429835

Change-Id: I0dcc29bb91482e856d2e86131741693010ec9ba4
parents f89a8fde 16065df2
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -1013,8 +1013,10 @@ public interface InputConnection {
     *
     *
     * @param imeConsumesInput {@code true} when the IME is consuming input and the cursor should be
     * @param imeConsumesInput {@code true} when the IME is consuming input and the cursor should be
     * hidden, {@code false} when input to the editor resumes and the cursor should be shown again.
     * hidden, {@code false} when input to the editor resumes and the cursor should be shown again.
     * @return {@code true} on success, {@code false} if the input connection is no longer valid, or
     * @return For editor authors, the return value will always be ignored. For IME authors, this
     * the protocol is not supported.
     *         method returns {@code true} if the request was sent (whether or not the associated
     *         editor does something based on this request), {@code false} if the input connection
     *         is no longer valid.
     */
     */
    default boolean setImeConsumesInput(boolean imeConsumesInput) {
    default boolean setImeConsumesInput(boolean imeConsumesInput) {
        return false;
        return false;