|
@@ -2341,7 +2341,19 @@ public class iMapServer extends Service {
|
|
|
|
|
|
|
|
|
Log.i(TAG, "[WallPadInterface.BTN_DOOR] bWallPadCallLive [" + bWallPadCallLive + "], bBlockFrontCall [" + bBlockFrontCall + "]");
|
|
|
+
|
|
|
+
|
|
|
if (!bWallPadCallLive && !bBlockFrontCall) {
|
|
|
+
|
|
|
+ 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);
|
|
|
+ }
|
|
|
bBlockFrontCall = true;
|
|
|
handlerCallCtrl.removeMessages(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL);
|
|
|
handlerCallCtrl.sendEmptyMessageDelayed(CALLCTRLHANDLERMSG.RELEASE_BLOCK_FRONTCALL, 3000);
|
|
@@ -15388,6 +15400,7 @@ public class iMapServer extends Service {
|
|
|
int MAX_WALLPADCALL_LIVE_CNT = 2;
|
|
|
int nWallPadCallACKCnt = MAX_WALLPADCALL_LIVE_CNT;
|
|
|
public static boolean bWallPadCallLive = false;
|
|
|
+ public static boolean bWallPadRecoder = false;
|
|
|
int nWallPadCallPID = 0;
|
|
|
Handler handlerCheckWallPadCallLive = new Handler() {
|
|
|
public void handleMessage(Message msg) {
|
|
@@ -15409,6 +15422,7 @@ public class iMapServer extends Service {
|
|
|
}
|
|
|
else {
|
|
|
bWallPadCallLive = false;
|
|
|
+ bWallPadRecoder = false;
|
|
|
Common.bWallPadCallLive = bWallPadCallLive;
|
|
|
}
|
|
|
|