Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/FaceScenic_V2' into FaceScenic_V2

Shangyp 3 mesi fa
parent
commit
e94d3697b0

+ 3 - 3
app/src/main/java/com/hanghui/senic/network/HttpRequest.java

@@ -250,8 +250,8 @@ public class HttpRequest {
         //补光灯设置
         RelaysAndLedUtile.getInstance().setLedLight(ConfigManager.getAuthenticationBeanListBean().getLightMode(), false);
 
-        //设置硬件开启数量
-        setHardwareOpenNum();
+        //设置硬件开启的总数量
+        setTotalHardwareOpenNum();
         //设置身份证阅读器相关
         setupIDCardReader();
         //二维码启动或关闭
@@ -280,7 +280,7 @@ public class HttpRequest {
         }
     }
 
-    private void setHardwareOpenNum() {
+    private void setTotalHardwareOpenNum() {
         if (ConfigManager.getAuthenticationBeanListBean().isUseIdcard()) {
             DeviceInitManager.getInstance().totalOpenHardwareNum++;
         }