Merge "Handle IME hide internal state correctly. am: e68d6f53 am: f6244ab6 am: 82977b9a am: c420e51a" into rvc-qpr-dev-plus-aosp