/InputMethodAndSubtypeEnabler.java
public class InputMethodAndSubtypeEnabler extends SettingsPreferenceFragment {
final PreferenceCategory activeInputMethodsCategory = new PreferenceCategory(context);
activeInputMethodsCategory.setTitle(R.string.active_input_method_subtypes);
//註釋掉此行root.addPreference(activeInputMethodsCategory);
..........
...........
2.public class InputMethodAndSubtypeEnabler extends SettingsPreferenceFragment {
}
}
Collections.sort(subtypePreferences);
+ //for (int j = 0; j < subtypePreferences.size(); ++j) {
+ //activeInputMethodsCategory.addPreference(subtypePreferences.get(j));
+ //}
//註釋掉以上三行行
mInputMethodAndSubtypePrefsMap.put(imiId, subtypePreferences);
}
if (isAutoSubtype) {
3.在文件/vendor/intel/products/mfld_dv10.mk
PRODUCT_PACKAGES += \
libSh3aParamsLiteOn8M
# product dpi config
//註釋掉此行PRODUCT_LOCALES += mdpi
//添加此行PRODUCT_AAPT_CONFIG := mdpi
//添加此行# Language config
//添加此行PRODUCT_LOCALES := en_US zh_CN
# video encoder and camera
PRODUCT_PACKAGES += \