Merge "Fix that setInputMethod throw exception with wrong method id"