Browse Source

1.添加注释

20241218TB223FC(测试jar包)
wangwanlei 6 months ago
parent
commit
985f5b822a
1 changed files with 2 additions and 8 deletions
  1. 2
    8
      app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt

+ 2
- 8
app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt View File

@@ -435,15 +435,9 @@ object StrategyUtils {
435 435
             //启用网络白名单,需要处理,不能每次都清除之前的白名单所以默认只添加不移除,请求接口时才移除。
436 436
             ManageApplication.setDefaultUrlWhiteListWrite(arrayListOf())
437 437
             //启用安装白名单
438
-            ManageApplication.addInstallPackageWhiteList(
439
-                arrayListOf(
440
-                    Const.CURRENTAPPPKG,
441
-                    Const.STOREAPPPKG,
442
-                    "com.lenovo.mia.setupwizard"
443
-                )
444
-            )
438
+            ManageApplication.addInstallPackageWhiteList(arrayListOf(Const.CURRENTAPPPKG, Const.STOREAPPPKG))
445 439
             ManageApplication.setSleepTimeoutV3()
446
-            //给自己加入网络白名单
440
+            //给自己以及联想sn验证加入网络白名单
447 441
             ManageApplication.addAppWhiteRule(arrayListOf(Const.CURRENTAPPPKG, "com.lenovo.mia.setupwizard"))
448 442
             //默认打开wifi禁止用户关闭
449 443
            // ManageApplication.disallowWifi(true)

Loading…
Cancel
Save