Found no subtypes in a system IME
W/InputMethodManagerService( ): Found no subtypes in a system IME: com.android.inputmethod.pinyin
690 private boolean isValidSystemDefaultIme(InputMethodInfo imi, Context context) { 691 if (!mSystemReady) { 692 return false; 693 } 694 if (!isSystemIme(imi)) { 695 return false; 696 } 697 if (imi.getIsDefaultResourceId() != 0) { 698 try { 699 Resources res = context.createPackageContext( 700 imi.getPackageName(), 0).getResources(); 701 if (res.getBoolean(imi.getIsDefaultResourceId()) 702 && containsSubtypeOf(imi, context.getResources().getConfiguration(). 703 locale.getLanguage())) { 704 return true; 705 } 706 } catch (PackageManager.NameNotFoundException ex) { 707 } catch (Resources.NotFoundException ex) { 708 } 709 } 710 if (imi.getSubtypeCount() == 0) { 711 Slog.w(TAG, "Found no subtypes in a system IME: " + imi.getPackageName()); <=========ここ 712 } 713 return false; 714 }