Ver código fonte

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

20241218TB223FC(测试jar包)
wangwanlei 5 meses atrás
pai
commit
40d72f68f8

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

@@ -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()){

Carregando…
Cancelar
Salvar