Merge "Handle IME hide internal state correctly." into rvc-dev am: 6989bab2 am: 6d5060be am: 7eefd2ba Change-Id: I0a921da891daa0d317af9b1f65a94a1671011de7