Extract and move binding visibly to controller

This CL flips the order of events:
Now the IMMS first performs the "visible" binding,
and only then showSoftInput gets called on the IME.

Bug: 205676419
Test: make
Change-Id: I5c29f880cd5eefd0998891012588774de25c55a7
2 files changed