Merge "Handle null InputMethodSubtype."