|
@@ -2343,17 +2343,18 @@ public class iMapServer extends Service {
|
|
|
Log.i(TAG, "[WallPadInterface.BTN_DOOR] bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
|
|
|
|
|
|
|
|
|
- if (!bWallPadCallLive && !bBlockFrontCall) {
|
|
|
+ if (Common.bWallPadRecoder && bWallPadCallLive) {
|
|
|
|
|
|
- if (Common.bWallPadRecoder) {
|
|
|
-
|
|
|
- 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);
|
|
|
- }
|
|
|
+
|
|
|
+ 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;
|
|
|
handlerCallCtrl.removeMessages(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL);
|
|
|
handlerCallCtrl.sendEmptyMessageDelayed(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL, 3000);
|