Browse Source

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

20241218TB223FC(测试jar包)
wangwanlei 10 months ago
parent
commit
4fcacbc28a
1 changed files with 1 additions and 1 deletions
  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 View File

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

Loading…
Cancel
Save