Commit 3a45711a by YKai

feat: 修复倾诉挂断延迟执行问题,代码优化

parent 9fd68e5a
...@@ -1600,10 +1600,6 @@ class AudioHomeActivity : ...@@ -1600,10 +1600,6 @@ class AudioHomeActivity :
} }
} }
override fun finishActivity() {
// leaveChannel()
}
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
findRouteService(IImService::class.java).unregisterObserveCustomNotification(notificationCallback) findRouteService(IImService::class.java).unregisterObserveCustomNotification(notificationCallback)
......
...@@ -4,7 +4,6 @@ import com.ydl.audioim.bean.ConnectBean ...@@ -4,7 +4,6 @@ import com.ydl.audioim.bean.ConnectBean
import com.ydl.audioim.http.command.* import com.ydl.audioim.http.command.*
import com.ydl.ydlcommon.data.http.BaseAPIResponse import com.ydl.ydlcommon.data.http.BaseAPIResponse
import com.ydl.ydlcommon.data.http.BaseResponse import com.ydl.ydlcommon.data.http.BaseResponse
import com.ydl.ydlcommon.mvp.base.BasePresenter
import com.ydl.ydlcommon.mvp.base.IModel import com.ydl.ydlcommon.mvp.base.IModel
import com.ydl.ydlcommon.mvp.base.IPresenter import com.ydl.ydlcommon.mvp.base.IPresenter
import com.ydl.ydlcommon.mvp.base.IView import com.ydl.ydlcommon.mvp.base.IView
...@@ -29,10 +28,6 @@ interface IAudioHomeActivityContract { ...@@ -29,10 +28,6 @@ interface IAudioHomeActivityContract {
*/ */
fun dismissProgressView() fun dismissProgressView()
/**
* 关闭窗口
*/
fun finishActivity()
/** /**
*切换axb回调 *切换axb回调
......
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