|
|
@@ -15,6 +15,7 @@ import android.support.v7.app.NotificationCompat;
|
|
|
import android.text.TextUtils;
|
|
|
import android.util.Log;
|
|
|
|
|
|
+import com.common.LogUtil;
|
|
|
import com.common.preferences.PreferenceUtils;
|
|
|
import com.common.system.SystemUtil;
|
|
|
import com.core.app.Constants;
|
|
|
@@ -250,6 +251,7 @@ public class CoreService extends Service {
|
|
|
public void notifyConnectionClosedOnError(Exception arg0) {
|
|
|
if (CoreService.DEBUG)
|
|
|
Log.e(CoreService.TAG, "连接异常断开");
|
|
|
+ LogUtil.i("arg0="+arg0.getMessage());
|
|
|
ListenerManager.getInstance().notifyAuthStateChange(AuthStateListener.AUTH_STATE_NOT);
|
|
|
}
|
|
|
|
|
|
@@ -257,6 +259,7 @@ public class CoreService extends Service {
|
|
|
public void notifyConnectionClosed() {
|
|
|
if (CoreService.DEBUG)
|
|
|
Log.e(CoreService.TAG, "连接断开");
|
|
|
+ LogUtil.i("notifyConnectionClosed=");
|
|
|
ListenerManager.getInstance().notifyAuthStateChange(AuthStateListener.AUTH_STATE_NOT);
|
|
|
}
|
|
|
|