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

Commit 04d2fef4 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Remove unused InputMethodManagerInternal#isStylusHandwritingAvailable()"

parents fb41d640 b87773e5
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -74,11 +74,6 @@ public abstract class InputMethodManagerInternal {
     */
    public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId);

    /**
     * Returns {@code true} if currently selected IME supports Stylus handwriting.
     */
    public abstract boolean isStylusHandwritingAvailable();

    /**
     * Called by the Autofill Frameworks to request an {@link InlineSuggestionsRequest} from
     * the input method.
@@ -261,11 +256,6 @@ public abstract class InputMethodManagerInternal {
                @Override
                public void maybeFinishStylusHandwriting() {
                }

                @Override
                public boolean isStylusHandwritingAvailable() {
                    return false;
                }
            };

    /**
+0 −5
Original line number Diff line number Diff line
@@ -5658,11 +5658,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
            mHandler.removeMessages(MSG_FINISH_HANDWRITING);
            mHandler.obtainMessage(MSG_FINISH_HANDWRITING).sendToTarget();
        }

        @Override
        public boolean isStylusHandwritingAvailable() {
            return InputMethodManagerService.this.isStylusHandwritingAvailable();
        }
    }

    @BinderThread