Skip to content

Commit

Permalink
[Android] 修正了掉线重连线程在新版Android上不能正常启动的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
JackJiang2011 committed Mar 7, 2017
1 parent 0bb27f9 commit 09fc539
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions release_notes/release_note_v2.1.8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

-------------------------------------------------------------------------------------- v2.1.8������2017-03-07 19:32
MobileIMSDK v2.1.8�����˵����

�������Bug��
1. [Android]�����˵��������߳����°�Android�ϲ����������������⡣

�������Ż���������
1. [iOS] �Ż���demo��ui������ios10��xcode8�µļ��������⡣




Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void run()
{
if (!AutoReLoginDaemon.this._excuting)
{
new AsyncTask()
new AsyncTask<Object, Integer, Integer>()
{
protected Integer doInBackground(Object[] params)
{
Expand Down Expand Up @@ -95,7 +95,7 @@ protected void onPostExecute(Integer result)
handler.postDelayed(runnable, AUTO_RE$LOGIN_INTERVAL);
}
}
.execute(new Object[0]);
.execute();
}
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ private DatagramSocket resetLocalUDPSocket()
Log.w(TAG, "【IMCORE】localUDPSocket创建时出错,原因是:" + e.getMessage(), e);

closeLocalUDPSocket();
}return null;
return null;
}
}

private boolean isLocalUDPSocketReady()
Expand Down

0 comments on commit 09fc539

Please sign in to comment.