1.默认语音、地区、时区
device/rockchip/rk322x/rk322x_box/system.prop
persist.sys.language=zh #简体中文
persist.sys.country=CN #中国
persist.sys.timezone=Asia/Shanghai #GMT+8
2.版本号:
build/core/Makefile
# A human-readable string that descibes this build in detail.
# build_desc := $(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT) $(PLATFORM_VERSION) $(BUILD_ID) $(BUILD_NUMBER) $(BUILD_VERSION_TAGS)
build_desc := V1.0.0 #可以直接去掉上面一大串引用,也可以在上面的基础上修改
3.默认输入法:
1)frameworks/base/core/java/com/android/internal/inputmethod/InputMethodUtils.java
// At the initial boot, the settings for input methods are not set,
// so we need to enable IME in that case.
public void enableAllIMEsIfThereIsNoEnabledIME() {
if (!TextUtils.isEmpty(getEnabledInputMethodsStr())) {//增加一个取反!
StringBuilder sb = new StringBuilder();
final int N = mMethodList.size();
for (int i = 0; i < N; i++) {
InputMethodInfo imi = mMethodList.get(i);
Slog.i(TAG,