Merge "Make sample IME aware of language switching"