|
@@ -5816,6 +5816,26 @@ public class MainActivity extends WpadActivity {
|
|
|
// Log.i(TAG, "[sendWallPadCallLiveBR_ACK] ===== START =====");
|
|
|
Intent mIntent = new Intent();
|
|
|
mIntent.setAction(Declare.BR.BR_ACK_WALLPADCALL_LIVE);
|
|
|
+ boolean isFront = false;
|
|
|
+ boolean isCalling = false;
|
|
|
+
|
|
|
+ // jglee - 2022.07.29 통화 시나리오 변경 통화중, 거동수상자 알람 오면 무조건 버려야 함
|
|
|
+ // jglee - 2022.07.29 월패드 메인에서 현재 통화중인지 여부를 판단하기 위해 해당 인텐트 추가
|
|
|
+ if(mCallController!=null)
|
|
|
+ {
|
|
|
+ if(mCallController.mCallInfo.getFRONT() != CALLSTATUS.IDLE) isCalling = true;
|
|
|
+ else if(mCallController.mCallInfo.getLOBBY() != CALLSTATUS.IDLE) isCalling = true;
|
|
|
+ else if(mCallController.mCallInfo.getPSTN() != CALLSTATUS.IDLE) isCalling = true;
|
|
|
+ else if(mCallController.mCallInfo.getGUARD() != CALLSTATUS.IDLE) isCalling = true;
|
|
|
+ else if(mCallController.mCallInfo.getRESI() != CALLSTATUS.IDLE) isCalling = true;
|
|
|
+ }
|
|
|
+
|
|
|
+// if(mCallController!=null && mCallController.mCallInfo.getFRONT() != CALLSTATUS.IDLE)
|
|
|
+// isFront = true;
|
|
|
+
|
|
|
+// mIntent.putExtra("isFront", isFront);
|
|
|
+ mIntent.putExtra("isCalling", isCalling);
|
|
|
+
|
|
|
getApplicationContext().sendBroadcast(mIntent);
|
|
|
} catch (RuntimeException re) {
|
|
|
LogUtil.errorLogInfo("", TAG, re);
|