4.3
多SIM卡状态栏信号更新:
1>:信号以是否连接使用数据分为2组:未连接使用数据的,连接使用数据的:
TelephonyIcons.java
//GSM/UMTS
static final int[][] TELEPHONY_SIGNAL_STRENGTH = {
{ R.drawable.stat_sys_signal_0,
R.drawable.stat_sys_signal_1,
R.drawable.stat_sys_signal_2,
R.drawable.stat_sys_signal_3,
R.drawable.stat_sys_signal_4 },
{ R.drawable.stat_sys_signal_0_fully,
R.drawable.stat_sys_signal_1_fully,
R.drawable.stat_sys_signal_2_fully,
R.drawable.stat_sys_signal_3_fully,
R.drawable.stat_sys_signal_4_fully }
};
2>:
数据是否连接使用在MSimNetworkController.java的updateConnectivity(Intent intent)方法里依据底层值判断:
// INET_CONDITION_THRESHOLD = 50
int connectionStatus = intent.getIntExtra(ConnectivityManager.EXTRA_INET_C