Fix showSoftInput crashing when no IME is enabled

This CL adds a shortcut for bindCurrentMethod in
InputMethodBindingController to return NO_IME instead of
crashing in the rare case when no IME is enabled in the system.

Bug: 220125769
Test: atest InputMethodServiceTest#testShowSoftInput_whenAllImesDisabled
Change-Id: I7da6ed7f2b80331c469751b7091c340422df40a8
(cherry picked from commit 107035849e9f28c7ba96af0cb1caaa7bed80fd76)
Merged-In:I7da6ed7f2b80331c469751b7091c340422df40a8
1 file changed