Support legacy way to create InputMethodContext

No match.