Browse Source

[WallPadMain]
1. 거동 수상자 버그 수정

jglee 2 years ago
parent
commit
b1f0666461

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

@@ -995,6 +995,13 @@ public class iMapServer extends Service {
                                 Log.w(TAG, "jglee - StrangeRecord Delay by Call");
                                 return;
                             }
+
+                            if(Common.bRecordDelay)
+                            {
+                                Log.w(TAG, "jglee - [NOTIFY_SMART_DCAM_DETECT] bRecordDelay is return ");
+                                return;
+                            }
+
                             Log.i(TAG, "jglee - [mWallPadNotifyBR] define.NOTIFY_SMART_DCAM_DETECT -> bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
                             //Call앱이 실행되어 있지 않으면서, 현관호출이 아닌경우
                             if (!bWallPadCallLive && !bBlockFrontCall) {
@@ -1009,12 +1016,6 @@ public class iMapServer extends Service {
                                         }
                                         if(Common.bRecordDelay || Common.bRecordStatus)
                                         {
-                                            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;
                                         }