概述
packages/apps/Settings/src/com/android/settings/DeviceInfoSettings.java
String baseversion = "gsm.version.baseband";
int modemSlot = getExternalModemSlot();
boolean hasExternalModem = modemSlot != 0;
if (hasExternalModem && !FeatureOption.PURE_AP_USE_EXTERNAL_MODEM) {
if (modemSlot == 1) {
baseversion = "gsm.version.baseband.2";
}
}
// setValueSummary(KEY_BASEBAND_VERSION, baseversion); //
// Remove Baseband version if wifi-only device
if (Utils.isWifiOnly(getActivity())) {
// getPreferenceScreen().removePreference(findPreference(KEY_BASEBAND_VERSION));
}
// setStringSummary(KEY_BASEBAND_VERSION, str_re);
//
//if(findPreference(KEY_BASEBAND_VERSION) != null){
//getPreferenceScreen().removePreference(findPreference(KEY_BASEBAND_VERSION));
}
//
PreferenceGroup parentPreference = getPreferenceScreen();
mDevHitCountdown = getActivity().getSharedPreferences(DevelopmentSettings.PREF_FILE,
Context.MODE_PRIVATE).getBoolean(DevelopmentSettings.PREF_SHOW,
android.os.Build.TYPE.equals("eng")) ? -1 : TAPS_TO_BE_A_DEVELOPER;
mDevHitToast = null;
else {
slot1 = getString(R.string.status_imei_slot1);
slot1 = basebandversion
+ slot1.replace(getString(R.string.status_imei), " ");
slot2 = getString(R.string.status_imei_slot2);
slot2 = basebandversion
+ slot2.replace(getString(R.string.status_imei), " ");
}
// findPreference(KEY_BASEBAND_VERSION).setTitle(slot1);
findPreference(KEY_BASEBAND_VERSION_2).setTitle(slot2);
}
最后
以上就是传统芹菜为你收集整理的MTK kk隐藏基带版本的全部内容,希望文章能够帮你解决MTK kk隐藏基带版本所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复