[680][app]登录页面不进行连接状态toast和消息弹出提示

This commit is contained in:
xinfengkun
2024-11-27 15:37:10 +08:00
parent 82a57c10f9
commit a87d9f519e
3 changed files with 11 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ import com.mogo.commons.AbsMogoApplication
import com.mogo.commons.mvp.MvpFragment
import com.mogo.commons.storage.SharedPrefsMgr
import com.mogo.eagle.core.data.config.FunctionBuildConfig
import com.mogo.eagle.core.function.call.autopilot.CallerIpcConnectStateToastManager
import com.mogo.eagle.core.function.hmi.ui.setting.ToggleDebugView
import com.mogo.eagle.core.function.hmi.ui.widget.ColdStartView
import com.mogo.eagle.core.utilcode.kotlin.onClick
@@ -250,6 +251,7 @@ class LoginFragment : MvpFragment<LoginFragment?, LoginPresenter?>(), ILoginView
override fun onResume() {
biz_cl_driver_main?.viewTreeObserver?.addOnGlobalLayoutListener(onlayoutListener)
super.onResume()
CallerIpcConnectStateToastManager.loginFragment(true)
CallerLogger.d(TAG, "onResume")
context?.let {
val videoUrl:String
@@ -339,6 +341,7 @@ class LoginFragment : MvpFragment<LoginFragment?, LoginPresenter?>(), ILoginView
override fun onPause() {
biz_cl_driver_main?.viewTreeObserver?.removeOnGlobalLayoutListener(onlayoutListener)
super.onPause()
CallerIpcConnectStateToastManager.loginFragment(false)
CallerLogger.d(TAG, "onPause")
viewColdStart.setColdStartResultListener(null)
}