Update showSoftInput javadoc
For the app developers to understand the editor view of requesting showSoftInput requires the view and its window must be focused and serverd by an input method. Bug: 256517410 Test: build Change-Id: Ibe52263a01f62140862527fd59111b914ad5e18c
This commit is contained in:
@@ -1904,8 +1904,11 @@ public final class InputMethodManager {
|
||||
* a result receiver: explicitly request that the current input method's
|
||||
* soft input area be shown to the user, if needed.
|
||||
*
|
||||
* @param view The currently focused view, which would like to receive
|
||||
* soft keyboard input.
|
||||
* @param view The currently focused view, which would like to receive soft keyboard input.
|
||||
* Note that this view is only considered focused here if both it itself has
|
||||
* {@link View#isFocused view focus}, and its containing window has
|
||||
* {@link View#hasWindowFocus window focus}. Otherwise the call fails and
|
||||
* returns {@code false}.
|
||||
* @param flags Provides additional operating flags. Currently may be
|
||||
* 0 or have the {@link #SHOW_IMPLICIT} bit set.
|
||||
*/
|
||||
@@ -1967,8 +1970,11 @@ public final class InputMethodManager {
|
||||
* can be garbage collected regardless of the lifetime of
|
||||
* {@link ResultReceiver}.
|
||||
*
|
||||
* @param view The currently focused view, which would like to receive
|
||||
* soft keyboard input.
|
||||
* @param view The currently focused view, which would like to receive soft keyboard input.
|
||||
* Note that this view is only considered focused here if both it itself has
|
||||
* {@link View#isFocused view focus}, and its containing window has
|
||||
* {@link View#hasWindowFocus window focus}. Otherwise the call fails and
|
||||
* returns {@code false}.
|
||||
* @param flags Provides additional operating flags. Currently may be
|
||||
* 0 or have the {@link #SHOW_IMPLICIT} bit set.
|
||||
* @param resultReceiver If non-null, this will be called by the IME when
|
||||
|
||||
Reference in New Issue
Block a user