|
@@ -984,6 +984,17 @@ public class iMapServer extends Service {
|
|
|
case define.NOTIFY_SMART_DCAM_DETECT:
|
|
|
// 스마트현관카메라 거동수상자 발생
|
|
|
// Toast.makeText(getApplicationContext(), "Front camera sensor: DETECTED!!", Toast.LENGTH_SHORT).show();
|
|
|
+ //jglee - 현관문인경우 파악을 위해
|
|
|
+ if(Common.bWallPadCallFrontLive || bBlockFrontCall)
|
|
|
+ {
|
|
|
+ //현관문일 경우만 return 함
|
|
|
+ Log.i(TAG, "[mWallPadNotifyBR] define.NOTIFY_SMART_DCAM_DETECT -> bWallPadCallLive [" + bWallPadCallLive + "] return");
|
|
|
+ Intent Newintent = new Intent();
|
|
|
+ Newintent.setAction(Common.BR_RECORD_DELAY);
|
|
|
+ getApplicationContext().sendBroadcast(Newintent);
|
|
|
+ Log.w(TAG, "jglee - StrangeRecord Delay by Call");
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.i(TAG, "jglee - [mWallPadNotifyBR] define.NOTIFY_SMART_DCAM_DETECT -> bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
|
|
|
if (!bWallPadCallLive && !bBlockFrontCall) {
|
|
|
if (getStrangerRecordingManagerSetting()) {
|
|
@@ -15552,6 +15563,8 @@ public class iMapServer extends Service {
|
|
|
bWallPadCallLive = false;
|
|
|
bWallPadRecoder = false;
|
|
|
Common.bWallPadCallLive = bWallPadCallLive;
|
|
|
+ //jglee - 현관문 변수 초기화
|
|
|
+ Common.bWallPadCallFrontLive = false;
|
|
|
}
|
|
|
|
|
|
if (bWallPadCallLive != getCallAppRunning()) {
|
|
@@ -15600,6 +15613,11 @@ public class iMapServer extends Service {
|
|
|
}
|
|
|
nWallPadCallACKCnt = MAX_WALLPADCALL_LIVE_CNT;
|
|
|
Log.w(TAG,"[WallPadCallLiveBRCheck] bWallPadCallLive [" + bWallPadCallLive + "]");
|
|
|
+
|
|
|
+ //jglee 여기서 Extra변수값을 적용
|
|
|
+ boolean isFront = false;
|
|
|
+ isFront = intent.getBooleanExtra("isFront", false);
|
|
|
+ Common.bWallPadCallFrontLive = isFront;
|
|
|
}
|
|
|
else {
|
|
|
Log.w(TAG,"[WallPadCallLiveBRCheck] Not supported strActionName [" + strActionName + "]");
|