|
@@ -425,20 +425,6 @@ class ManageApplication : MultiDexApplication() {
|
425
|
425
|
return listOf<String>()
|
426
|
426
|
}
|
427
|
427
|
|
428
|
|
- /**
|
429
|
|
- * 启用无障碍服务
|
430
|
|
- */
|
431
|
|
- fun enableAccessibility() {
|
432
|
|
- if (ModelNameUtils.IS_LianxX505f()) {
|
433
|
|
- //csdkManager?.enableAccessibility("com.xhly.manageapp","com.xhly.manageapp.service.TestService",true)
|
434
|
|
- } else if (ModelNameUtils.IS_LianxX6e6f()) {
|
435
|
|
- /* csdkManager?.enableAccessibility(
|
436
|
|
- "com.xhkjedu.manageapp",
|
437
|
|
- "com.xhkjedu.manageapp.service.ManageAccessibilityService",
|
438
|
|
- true
|
439
|
|
- )*/
|
440
|
|
- }
|
441
|
|
- }
|
442
|
428
|
|
443
|
429
|
/**
|
444
|
430
|
* 禁用/启用截屏 true:允许截屏
|
|
@@ -679,14 +665,6 @@ class ManageApplication : MultiDexApplication() {
|
679
|
665
|
return false
|
680
|
666
|
}
|
681
|
667
|
|
682
|
|
- /**
|
683
|
|
- * 移除网络白名单
|
684
|
|
- */
|
685
|
|
- fun removeNetworkAccessWhitelist(list: List<String>) {
|
686
|
|
- if (ModelNameUtils.IS_LianxX505f() || ModelNameUtils.IS_LianxX6e6f()) {
|
687
|
|
- csdkManager?.removeNetworkAccessWhitelist(list)
|
688
|
|
- }
|
689
|
|
- }
|
690
|
668
|
|
691
|
669
|
/**
|
692
|
670
|
* true:设置设备禁用安全模式
|