修改 NetworkController.java 的 void refreshViews(int slotId)
(File Path: alps/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java)
1. 找到
} else if (!tempDataConnected && !mWifiConnected && !mBluetoothTethered && !mWimaxConnected && !ethernetConnected) {
改成
} else if (!tempDataConnected && !mWifiConnected && !mWimaxConnected && !ethernetConnected) {
2. 第一步的else if 底下的小部分內容用 if (!mBluetoothTethered) 包起來
if (!mBluetoothTethered)
{
combinedLabel = context.getString(R.string.status_bar_settings_signal_meter_disconnected);
// On devices without mobile radios, we want to show the wifi icon
if (!mIsScreenLarge) {
...............
} else {
................
}
}
IccCardConstants.State tempSimState;android 建立蓝牙共享网络后,数据连接图标被打开
原文:http://blog.csdn.net/sergeycao/article/details/40826487