Browse Source

1.添加移除白名单的方法

20241218TB223FC(测试jar包)
wangwanlei 10 months ago
parent
commit
eff04c10dc
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/src/main/java/com/xhly/manageapp/ManageApplication.kt

+ 2
- 2
app/src/main/java/com/xhly/manageapp/ManageApplication.kt View File

@@ -521,7 +521,7 @@ class ManageApplication : MultiDexApplication() {
521 521
             }
522 522
         }
523 523
         /**
524
-         * 移除网络白名单
524
+         * 移除网络白名单505f使用这个
525 525
          */
526 526
         fun ClearIpHostRules(){
527 527
             if (ModelNameUtils.IS_LianxX505f()){
@@ -593,6 +593,7 @@ class ManageApplication : MultiDexApplication() {
593 593
         }
594 594
         Toaster.init(this)
595 595
         //如果解除管控为真,则不在执行以下代码
596
+        setUrlWhiteListEnable(true)
596 597
         if (!exitControlFlag){
597 598
             AppSocket.startSocket(this)
598 599
             if (ModelNameUtils.IS_LianxX505f()) {
@@ -626,7 +627,6 @@ class ManageApplication : MultiDexApplication() {
626 627
                         csdkManager?.removeWifiWhiteList(it)
627 628
                     }
628 629
                 }
629
-
630 630
                 csdkManager?.urlWhiteListRead()?.forEach {
631 631
                     LogShow("白名单有"+it.toString())
632 632
                 }

Loading…
Cancel
Save