Pārlūkot izejas kodu

[WallPadMain]
1. 거동 수상자 시나리오 버그 수정

jglee 2 gadi atpakaļ
vecāks
revīzija
cac974505a

+ 7 - 3
WallPadMain/src/main/java/kr/co/icontrols/wallpadmain/util/iMapServer.java

@@ -992,9 +992,13 @@ public class iMapServer extends Service {
                                         //거동 수상자 감지 또는 딜레인 경우 처리
                                         if(Common.bRecordDelay || Common.bRecordStatus)
                                         {
-                                            ctrlSmartIOTCamStatusMode(Common.SmartRFCamStatusMode.STATUS_AUTO_OFF);
-                                            ctrlSmartIOTCamLEDMode(Common.SmartRFCamLEDMode.LED_AUTO_OFF);
-                                            Log.w(TAG, "jglee - [mWallPadNotifyBR] Stranger recording is DelayTime ");
+                                            if(Common.bRecordDelay)
+                                            {
+                                                ctrlSmartIOTCamStatusMode(Common.SmartRFCamStatusMode.STATUS_OFF);
+                                                ctrlSmartIOTCamLEDMode(Common.SmartRFCamLEDMode.LED_OFF);
+                                                Log.w(TAG, "jglee - [mWallPadNotifyBR] Stranger recording is DelayTime ");
+                                            }
+                                            Log.w(TAG, "jglee - [mWallPadNotifyBR] Stranger recording is return ");
                                             return;
                                         }