设置默认韩语输入法为例
1.在\frameworks\base\packages\SettingsProvider\res\values\defaults.xml下
添加<string name="config_default_input_method" translatable="false">kr.co.and.iq55m/.SoftKeyboard</string>
2.frameworks\base\packages\SettingsProvider\src\com\android\providers\settings\DatabaseHelper.java下的 private void loadSecureSettings(SQLiteDatabase db)方法中
添加loadStringSetting( stmt, Settings.Secure.DEFAULT_INPUT_METHOD,
R.string.config_default_input_method );