|
@@ -82,8 +82,7 @@ class MainActivity : BaseActivity<CommonBaseViewModel, ActivityMainBinding>() {
|
82
|
82
|
}
|
83
|
83
|
onBackPressedDispatcher.addCallback {
|
84
|
84
|
lifecycleScope.launch {
|
85
|
|
- var logService = RetrofitService.create<LogService>()
|
86
|
|
- logService.postListApp()
|
|
85
|
+
|
87
|
86
|
}
|
88
|
87
|
//屏蔽返回
|
89
|
88
|
}
|
|
@@ -92,6 +91,7 @@ class MainActivity : BaseActivity<CommonBaseViewModel, ActivityMainBinding>() {
|
92
|
91
|
|
93
|
92
|
override fun onResume() {
|
94
|
93
|
super.onResume()
|
|
94
|
+ AppSocketService.lastPkgName=""
|
95
|
95
|
getAppInfo()
|
96
|
96
|
useStrategy()
|
97
|
97
|
if (!isServiceON(this,AppSocketService::class.java.name)){
|