Fix implicit InputMethodServiceTest for InsetsController refactor

In case of calling InputMethodManager#{show,hide}SoftInput or IMMS#{show,hide}MySoftInputLocked, we lose the implicit flags, like: SHOW_IMPLICIT, HIDE_NOT_ALWAYS, HIDE_IMPLICIT_ONLY.
This is due to a redirect to InsetsController#{show,hide} or directly to the callback in IMMS that just sets the visibility, but not taking the implicit flags into account.

Test: atest FrameworksImeTests:com.android.inputmethodservice.InputMethodServiceTest
Flag: android.view.inputmethod.refactor_insets_controller
Fix: 355070655
Change-Id: Ia9e3b102a51f7635539a5af84e83d2fa76832359
1 file changed