修复firebase反馈的SocketRyClient.mSocketHandler空指针问题
This commit is contained in:
parent
bf8e6de236
commit
f60aeaa35e
@ -962,8 +962,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(io.rong.imlib.model.Message message) {
|
public void onSuccess(io.rong.imlib.model.Message message) {
|
||||||
Log.e("ry", "发送成功");
|
Log.e("ry", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -1002,8 +1004,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(io.rong.imlib.model.Message message) {
|
public void onSuccess(io.rong.imlib.model.Message message) {
|
||||||
Log.e("ry", "发送成功");
|
Log.e("ry", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -1196,8 +1200,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(io.rong.imlib.model.Message message) {
|
public void onSuccess(io.rong.imlib.model.Message message) {
|
||||||
Log.e("ry", "发送成功");
|
Log.e("ry", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -1289,8 +1295,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(io.rong.imlib.model.Message message) {
|
public void onSuccess(io.rong.imlib.model.Message message) {
|
||||||
Log.e("ry", "发送成功");
|
Log.e("ry", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -1329,8 +1337,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(io.rong.imlib.model.Message message) {
|
public void onSuccess(io.rong.imlib.model.Message message) {
|
||||||
Log.e("ry", "发送成功");
|
Log.e("ry", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg1.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(io.rong.imlib.model.Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
|
@ -147,8 +147,10 @@ public class SocketRyChatUtil {
|
|||||||
logger.logEvent("FB_type_interaction");
|
logger.logEvent("FB_type_interaction");
|
||||||
AdjustEvent adjustEvent = new AdjustEvent("cs6j0s");
|
AdjustEvent adjustEvent = new AdjustEvent("cs6j0s");
|
||||||
Adjust.trackEvent(adjustEvent);
|
Adjust.trackEvent(adjustEvent);
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -259,8 +261,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -389,8 +393,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -434,8 +440,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -479,8 +487,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -514,8 +524,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -592,8 +604,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -630,8 +644,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
@ -732,8 +748,10 @@ public class SocketRyChatUtil {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(Message message) {
|
public void onSuccess(Message message) {
|
||||||
Log.i("tx", "发送成功");
|
Log.i("tx", "发送成功");
|
||||||
|
if (SocketRyClient.mSocketHandler != null) {
|
||||||
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
SocketRyClient.mSocketHandler.processBroadcast(msg.mResult.toString() + "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user