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

Commit 3db07bb5 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Fix missing JavaDoc of IMM#toggleSoftInput()

This CL addresses a typo in the JavaDoc of IMM#toggleSoftInput(),
which has prevented it from being treated as a valid JavaDoc.

Note that this CL removes @hide simply because it is too late.  The
method in question has already been exposed to developers since API
level 3 (Cupcake) because of the typo.

Bug: 13002424
Test: make -j doc-comment-check-docs
Change-Id: I3e42d433f20c56ee63373bb390aad59e3bd7ec4f
parent 00f255e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1179,8 +1179,9 @@ public final class InputMethodManager {
        }
        }
    }
    }


    /*
    /**
     * This method toggles the input method window display.
     * This method toggles the input method window display.
     *
     * If the input window is already displayed, it gets hidden.
     * If the input window is already displayed, it gets hidden.
     * If not the input window will be displayed.
     * If not the input window will be displayed.
     * @param showFlags Provides additional operating flags.  May be
     * @param showFlags Provides additional operating flags.  May be
@@ -1189,7 +1190,6 @@ public final class InputMethodManager {
     * @param hideFlags Provides additional operating flags.  May be
     * @param hideFlags Provides additional operating flags.  May be
     * 0 or have the {@link #HIDE_IMPLICIT_ONLY},
     * 0 or have the {@link #HIDE_IMPLICIT_ONLY},
     * {@link #HIDE_NOT_ALWAYS} bit set.
     * {@link #HIDE_NOT_ALWAYS} bit set.
     * @hide
     */
     */
    public void toggleSoftInput(int showFlags, int hideFlags) {
    public void toggleSoftInput(int showFlags, int hideFlags) {
        if (mCurMethod != null) {
        if (mCurMethod != null) {