//adb修改默认输入法
adb shell settings put secure default_input_method com.sohu.inputmethod.sogou/.SogouIME
//adb获取默认输入法
adb shell settings get secure def_enable_input_methods
//代码设置默认输入法
Settings.Secure.putString(resolver, Settings.Secure.DEFAULT_INPUT_METHOD,
"com.sohu.inputmethod.sogou/.SogouIME");