|
@@ -29,8 +29,8 @@ import com.xhly.manageapp.R
|
29
|
29
|
import com.xhly.manageapp.broadcastreceiver.AppInstallReceiver
|
30
|
30
|
import com.xhly.manageapp.databinding.ActivityMainBinding
|
31
|
31
|
import com.xhly.manageapp.service.ManageAccessibilityService
|
|
32
|
+import com.xhly.manageapp.service.websocket.AppSocketService
|
32
|
33
|
import com.xhly.manageapp.ui.login.activity.LoginActivity
|
33
|
|
-import com.xhly.websocket.utils.WebSocketUtils
|
34
|
34
|
import java.util.Calendar
|
35
|
35
|
|
36
|
36
|
|
|
@@ -66,7 +66,7 @@ class MainActivity : BaseActivity<CommonBaseViewModel, ActivityMainBinding>() {
|
66
|
66
|
使用情况权限
|
67
|
67
|
val permissionIntent = Intent(Settings.ACTION_USAGE_ACCESS_SETTINGS)
|
68
|
68
|
startActivity(permissionIntent)*/
|
69
|
|
- WebSocketUtils.openWebSocket(this)
|
|
69
|
+ AppSocketService.openWebSocket(this)
|
70
|
70
|
// csdkManagerUtils.csdkManager.enableAccessibility("com.xhly.manageapp","com.xhly.manageapp.service.TestService",true)
|
71
|
71
|
}
|
72
|
72
|
|