Browse Source

1.解除管控时关闭默认的权限。

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

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

@@ -396,6 +396,8 @@ object StrategyUtils {
396 396
               //关闭网络白名单
397 397
               ManageApplication.setUrlWhiteListEnable(false)
398 398
               ManageApplication.setLockScreenMode(1)
399
+              //关闭运行时权限
400
+              ManageApplication.setRuntimePermissions(false)
399 401
               //X505F默认应用解除应用冻结
400 402
               Const.X505FBANAPPLIST.forEach {
401 403
                   if (ModelNameUtils.IS_LianxX505f()){

Loading…
Cancel
Save