Merge "Add an API to set InputMethodAndSubtype"