Commit a97bba19 by ydl

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

parent 296fdeb8
...@@ -461,8 +461,6 @@ class AudioHomeActivity : ...@@ -461,8 +461,6 @@ class AudioHomeActivity :
return@setOnClickListener return@setOnClickListener
} }
if (isConnectSuccess) { if (isConnectSuccess) {
// 连接成功,且手动挂断
uploadException("", "zhu", "108")
updateExpertStatus(false, 1) updateExpertStatus(false, 1)
// userCloseCalling() // userCloseCalling()
leaveChannel() leaveChannel()
...@@ -759,10 +757,6 @@ class AudioHomeActivity : ...@@ -759,10 +757,6 @@ class AudioHomeActivity :
val dialog = val dialog =
AxbConfirmDialog(mContext, type, object : AxbConfirmDialog.OnClickEnsureListener { AxbConfirmDialog(mContext, type, object : AxbConfirmDialog.OnClickEnsureListener {
override fun onClickEnsure() { override fun onClickEnsure() {
//是手动切换且连接成功
if (type == 1 && isConnectSuccess) {
uploadException("", "zhu", "108")
}
switchAXB() switchAXB()
} }
...@@ -1178,6 +1172,9 @@ class AudioHomeActivity : ...@@ -1178,6 +1172,9 @@ class AudioHomeActivity :
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
if (isConnectSuccess) {
uploadException("", "zhu", "108")
}
if (handler != null) { if (handler != null) {
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