首页 > 移动平台 > 详细

android 建立蓝牙共享网络后,数据连接图标被打开

时间:2014-11-05 17:09:33      阅读:419      评论:0      收藏:0      [点我收藏+]
修改 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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!