\r
public static final String ACTION_IMESSAGE = "action.message";\r
\r
- public static final String ACTION_ISCONNECTED = "com.enqualcomm.support.ACTION_ISCONNECTED";\r
+ public static final String ACTION_ISCONNECTED = "com.ic.protocol.ACTION_IS_SERVER_CONNECTED";\r
\r
public static final String ACTION_ISSILENCE = "com.enqualcomm.icare.ACTION_ISSILENCE";\r
\r
connectionError = true;\r
isConnected = false;\r
paramRuntime.setServerProtocolConnected(false);\r
- paramRuntime.getContextProxy().sendBroadcast(false);\r
+ paramRuntime.getContextProxy().sendBroadcastServerConnectionChanged(false);\r
StringBuilder stringBuilder = new StringBuilder();\r
stringBuilder.append("onConnectionClose=");\r
stringBuilder.append(",set KeepAlive isConnected = false");\r
// isConnected = true;\r
is_heartBeat_send_success=true;\r
//广播服务器连接成功的消息\r
- paramRuntime.getContextProxy().sendBroadcast(true);\r
+ paramRuntime.getContextProxy().sendBroadcastServerConnectionChanged(true);\r
// LauncherCtrl.getInstance(this.mContext).setStatusBarIcon("server_connected", STATUS_BAR_STATE_SERVER_CONNECTED_ON);\r
// Deliver.triggerSendThread(); //链接上就尝试清除 buffer中的数据\r
CoreService.getInstance().stopConnectionRetryTimer();\r
public class CellInfoUtil {\r
\r
public static int getSignal(TelephonyManager tm , Runtime runtime){\r
+\r
+ if(tm==null)\r
+ return 5;\r
CellLocation celllocation = tm.getCellLocation();\r
if (celllocation == null) {\r
ICLogger.i("cellLocation = null");\r
// this.context.sendBroadcast(intent);\r
// }\r
\r
- public void sendBroadcast(boolean paramBoolean) {\r
+ public void sendBroadcastServerConnectionChanged(boolean paramBoolean) {\r
Intent intent = new Intent();\r
intent.setAction(ACTION_ISCONNECTED);\r
intent.putExtra("isConnected", paramBoolean);\r
-#Sun Apr 19 05:20:52 CST 2020\r
-VERSION_CODE=406\r
+#Thu Apr 23 15:07:00 CST 2020\r
+VERSION_CODE=407\r
# Location of the SDK. This is only used by Gradle.\r
# For customization when using a Version Control System, please read the\r
# header note.\r
-#Sun Apr 12 23:38:56 CST 2020\r
-sdk.dir=E\:\\Android\\sdk\r
+#Thu Apr 23 14:33:06 CST 2020\r
+sdk.dir=C\:\\Users\\incar\\AppData\\Local\\Android\\Sdk\r