This reverts commit 2751c294. Reason: Broken logic Test: Open IME in Messages Fixes: 152695319 Change-Id: I6a63f20c6342d4284a5da99e39e8f835028a5b6b