|
@@ -2343,17 +2343,18 @@ public class iMapServer extends Service {
|
|
Log.i(TAG, "[WallPadInterface.BTN_DOOR] bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
|
|
Log.i(TAG, "[WallPadInterface.BTN_DOOR] bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
|
|
//여기서 거동 수상자 확인이 필요함
|
|
//여기서 거동 수상자 확인이 필요함
|
|
|
|
|
|
- if (!bWallPadCallLive && !bBlockFrontCall) {
|
|
|
|
|
|
+ if (Common.bWallPadRecoder && bWallPadCallLive) {
|
|
//녹화 여부 확인 후, 거동 수상자 녹화 중지 BR을 전송
|
|
//녹화 여부 확인 후, 거동 수상자 녹화 중지 BR을 전송
|
|
- if (Common.bWallPadRecoder) {
|
|
|
|
- // 거동수상자 녹화 중 현관 띵똥 눌리는 경우 BR 전송 (녹화 여부 판별 위해)
|
|
|
|
- Log.d(TAG, "[WallPadInterface.BTN_DOOR] Now Stranger Recording!!! bRecordStatus [" + Common.bWallPadRecoder + "]");
|
|
|
|
- Intent iIntent = new Intent();
|
|
|
|
- iIntent.setAction("kr.co.icontrols.wallpad.BR_RECORDSTOP");
|
|
|
|
- ComponentName mComponentName = new ComponentName("kr.co.icontrols.wallpadcall", "kr.co.icontrols.wallpadcall.MainActivity");
|
|
|
|
- iIntent.setComponent(mComponentName);
|
|
|
|
- getApplicationContext().sendBroadcast(iIntent);
|
|
|
|
- }
|
|
|
|
|
|
+ // 거동수상자 녹화 중 현관 띵똥 눌리는 경우 BR 전송 (녹화 여부 판별 위해)
|
|
|
|
+ Log.d(TAG, "[WallPadInterface.BTN_DOOR] Now Stranger Recording!!! bRecordStatus [" + Common.bWallPadRecoder + "]");
|
|
|
|
+ Intent iIntent = new Intent();
|
|
|
|
+ iIntent.setAction("kr.co.icontrols.wallpad.BR_RECORDSTOP");
|
|
|
|
+ ComponentName mComponentName = new ComponentName("kr.co.icontrols.wallpadcall", "kr.co.icontrols.wallpadcall.MainActivity");
|
|
|
|
+ iIntent.setComponent(mComponentName);
|
|
|
|
+ getApplicationContext().sendBroadcast(iIntent);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (!bWallPadCallLive && !bBlockFrontCall) {
|
|
bBlockFrontCall = true;
|
|
bBlockFrontCall = true;
|
|
handlerCallCtrl.removeMessages(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL);
|
|
handlerCallCtrl.removeMessages(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL);
|
|
handlerCallCtrl.sendEmptyMessageDelayed(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL, 3000);
|
|
handlerCallCtrl.sendEmptyMessageDelayed(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL, 3000);
|