[登录fragment 内存泄漏、登录前先走一遍通用接口]
This commit is contained in:
yangyakun
2024-04-24 21:31:31 +08:00
parent 7258d2d50d
commit bf3f5e340b
15 changed files with 273 additions and 252 deletions

View File

@@ -56,12 +56,14 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
val fragment = if (LoginStatusManager.isLogin()) {
val fragment = getFragment()
injectStatusBar()
LoginStatusManager.resetFragment()
fragment
} else {
removeStatusBar()
CallerHmiManager.hideToolsView()
ToggleDebugView.toggleDebugView.dismiss()
SopView.sopView.dismiss()
commonService?.resetFragment()
LoginStatusManager.getFragment()
}