Commit a97bba19 by ydl

页面销毁增加108异常上传,删除其余108上传逻辑

parent 296fdeb8
......@@ -461,8 +461,6 @@ class AudioHomeActivity :
return@setOnClickListener
}
if (isConnectSuccess) {
// 连接成功,且手动挂断
uploadException("", "zhu", "108")
updateExpertStatus(false, 1)
// userCloseCalling()
leaveChannel()
......@@ -759,10 +757,6 @@ class AudioHomeActivity :
val dialog =
AxbConfirmDialog(mContext, type, object : AxbConfirmDialog.OnClickEnsureListener {
override fun onClickEnsure() {
//是手动切换且连接成功
if (type == 1 && isConnectSuccess) {
uploadException("", "zhu", "108")
}
switchAXB()
}
......@@ -1178,6 +1172,9 @@ class AudioHomeActivity :
override fun onDestroy() {
super.onDestroy()
if (isConnectSuccess) {
uploadException("", "zhu", "108")
}
if (handler != null) {
handler = null
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment