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
This commit is contained in:
Yohei Yukawa
2018-02-05 15:26:25 +09:00
parent 00f255e795
commit 3db07bb547

View File

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