Обход в соответствии с http://hi.baidu.com/wishwingliao/blog/item/65a2d03f7dde8dd17d1e71ec.html. в frameworks \ base \ core \ res \ res \ values \ config.xml, добавьте как показано ниже
<string name="config_default_input_method">com.android.inputmethod.pinyin/.PinyinIME</string>
в frameworks \ base \ services \ java\ com \ android \ server \ InputMethodManagerService.java, добавьте следующее в buildInputMethodListLocked ()
String defaultIme = Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
//leo
if ( defaultIme == null )
{
final Resources res = mContext.getResources();
try
{
//frameworks\base\core\res\res\values\config.xml
String myIME = res.getString( com.android.internal.R.string.config_default_input_method );
if ( myIME != null && myIME.length() > 0 )
{
Settings.Secure.putString( mContext.getContentResolver(),
Settings.Secure.DEFAULT_INPUT_METHOD,
myIME );
}
}
catch ( Exception e )
{
}
}