Przeglądaj źródła

1.添加桌面冻结,1.0.14打包。

20241218TB223FC(测试jar包)
wangwanlei 7 miesięcy temu
rodzic
commit
2e24d6f34b

+ 2
- 0
app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt Wyświetl plik

@@ -402,6 +402,7 @@ object StrategyUtils {
402 402
 
403 403
               //设置默认启动器
404 404
               if (ModelNameUtils.IS_LianxX505f()||ModelNameUtils.IS_LianxX6e6f()){
405
+                  ManageApplication.setPackageEnabled("com.tblenovo.launcher",true)
405 406
                   //505f的桌面名称
406 407
                   ManageApplication.setCustomLauncher("com.tblenovo.launcher","com.android.iotlauncher.IotLauncher")
407 408
                   try {
@@ -448,6 +449,7 @@ object StrategyUtils {
448 449
             ManageApplication.hideMenuSoftKey(true)
449 450
             ManageApplication.enableAccessibility()
450 451
             ManageApplication.setLockScreenMode()
452
+            ManageApplication.setPackageEnabled("com.tblenovo.launcher",false)
451 453
             ManageApplication.setCustomLauncher(
452 454
                 Const.CURRENTAPPPKG,
453 455
                 Const.CURRENTAPPPKG + ".ui.ManageActivity"

Ładowanie…
Anuluj
Zapisz