Revert "Removed lock of showInputMethodMenu when showing the dialog"

This reverts commit 0eae65362d3d8cf6defb60698b704b5a04f8c2fe.

Reason for revert: causes race condition
Fix: 285036609
Bug: 275450371

Change-Id: Ifa63dfc60179987ffea7cc1154802359553fb928
1 file changed