Explorar el Código

1.解除管控后,禁止切换启动器。

20241218TB223FC(测试jar包)
wangwanlei hace 2 meses
padre
commit
265e3268ed
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 Ver fichero

@@ -421,6 +421,8 @@ object StrategyUtils {
421 421
                   //505f的桌面名称
422 422
                   ManageApplication.setCustomLauncher("com.tblenovo.launcher","com.android.iotlauncher.IotLauncher")
423 423
                   try {
424
+                      //解除管控后,禁止切换启动器
425
+                      ManageApplication.disallowSwitchLauncher_v3(true)
424 426
                       val launchIntent = Intent()
425 427
                       launchIntent.setComponent(
426 428
                           ComponentName(

Loading…
Cancelar
Guardar