Commit a8f66cb9 by YKai

feat:增加切换传统电话日志

parent e7ff4f84
...@@ -790,7 +790,7 @@ class AudioHomeActivity : ...@@ -790,7 +790,7 @@ class AudioHomeActivity :
private fun showChooseDialog(type: Int) { private fun showChooseDialog(type: Int) {
val dialog = AxbConfirmDialog(mContext, type, object : AxbConfirmDialog.OnClickEnsureListener { val dialog = AxbConfirmDialog(mContext, type, object : AxbConfirmDialog.OnClickEnsureListener {
override fun onClickEnsure() { override fun onClickEnsure() {
writeAgoraLog("主叫主动切换AXB") writeAgoraLog("主叫点击切换AXB按钮")
switchAXB() switchAXB()
} }
...@@ -812,6 +812,7 @@ class AudioHomeActivity : ...@@ -812,6 +812,7 @@ class AudioHomeActivity :
if (isConnectSuccess) { if (isConnectSuccess) {
uploadException("", "zhu", "108", object : YDLavManager.UploadExceptionCallback { uploadException("", "zhu", "108", object : YDLavManager.UploadExceptionCallback {
override fun onSuccess() { override fun onSuccess() {
writeAgoraLog("离开房间成功,主叫切换AXB之后")
mPresenter.getAXBPhone(ConnectCommand(listenId!!, "1")) mPresenter.getAXBPhone(ConnectCommand(listenId!!, "1"))
} }
...@@ -1224,12 +1225,6 @@ class AudioHomeActivity : ...@@ -1224,12 +1225,6 @@ class AudioHomeActivity :
leaveChannel() leaveChannel()
} }
override fun onStop() {
writeAgoraLog("用户切到后台,可能要杀死进程")
uploadLog()
super.onStop()
}
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
uploadLog() uploadLog()
......
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