Merge "Fix NPE in getLastInputMethodSubtype"