Browse Source

1.退出登录时清理应用内存。

20241218TB223FC(测试jar包)
wangwanlei 8 months ago
parent
commit
18055e034b

+ 2
- 0
app/src/main/java/com/xhly/manageapp/ui/main/activity/MainActivity.kt View File

1488
                 LogShow("关闭任务")
1488
                 LogShow("关闭任务")
1489
             }
1489
             }
1490
             Const.ACCOUNTLOGINOUTSUCESS->{
1490
             Const.ACCOUNTLOGINOUTSUCESS->{
1491
+                val appList = AppUtils.GetAppList(this@MainActivity)
1492
+                StrategyUtils.clearMemory(this@MainActivity, appList)
1491
                 loginOutSucess()
1493
                 loginOutSucess()
1492
             }
1494
             }
1493
             Const.STARTLOCATION->{
1495
             Const.STARTLOCATION->{

Loading…
Cancel
Save