Explorar el Código

1.修改相机是否可用的状态判断

20241218TB223FC(测试jar包)
wangwanlei hace 10 meses
padre
commit
4fcacbc28a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt

+ 1
- 1
app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt Ver fichero

@@ -77,7 +77,7 @@ object StrategyUtils {
77 77
         padDevices?.forEach {
78 78
             when (it.pdtype) {
79 79
                 Const.DEVICETYPE1 -> {
80
-                    ManageApplication.disableCamera(it.enabled == 1)
80
+                    ManageApplication.disableCamera(it.enabled != 1)
81 81
                 }
82 82
 
83 83
                 Const.DEVICETYPE2 -> {

Loading…
Cancelar
Guardar