|
@@ -138,7 +138,7 @@ import static com.artncore.wallpadapi.SdbAPI.EM_INDEX_LIVING;
|
|
|
|
|
|
public class iMapServer extends Service {
|
|
|
private String TAG = "iMapServer";
|
|
|
-
|
|
|
+//
|
|
|
static final int EVENTTIMELIMITE = 2000;
|
|
|
iMapSverSocket SvrSock;
|
|
|
int port = 10000;
|
|
@@ -15823,6 +15823,7 @@ public class iMapServer extends Service {
|
|
|
int MAX_WALLPADCALL_LIVE_CNT = 2;
|
|
|
int nWallPadCallACKCnt = MAX_WALLPADCALL_LIVE_CNT; // MAX_WALLPADCALL_LIVE_CNT회 이상 응답이 없으면 WallPadCall이 종료된것으로 판단한다.
|
|
|
public static boolean bWallPadCallLive = false; // WallPadCall의 Live 상태를 나타낸다.
|
|
|
+ public static boolean bWallPadCallLive_old = false;
|
|
|
public static boolean m_bWallpadCallScreen = false;
|
|
|
int nWallPadCallPID = 0; // WallPadCall을 강제 종료하기 위한 PID (WallPadCall로부터 BR로 수신한다.)
|
|
|
Handler handlerCheckWallPadCallLive = new Handler() {
|
|
@@ -15847,9 +15848,16 @@ public class iMapServer extends Service {
|
|
|
Common.bWallPadCallLive = bWallPadCallLive;
|
|
|
}
|
|
|
|
|
|
- if (bWallPadCallLive != getCallAppRunning()) {
|
|
|
- setCallAppRunning(bWallPadCallLive);
|
|
|
+
|
|
|
+ if (bWallPadCallLive != bWallPadCallLive_old) {
|
|
|
+
|
|
|
+ if (bWallPadCallLive != getCallAppRunning()) {
|
|
|
+ //Log.i(TAG, "[sendWallPadCallLiveBR_Request] bWallPadCallLive [" + bWallPadCallLive + "]");
|
|
|
+ setCallAppRunning(bWallPadCallLive);
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
+ bWallPadCallLive_old = bWallPadCallLive;
|
|
|
//Log.i(TAG, "[sendWallPadCallLiveBR_Request] bWallPadCallLive [" + bWallPadCallLive + "]");
|
|
|
} catch (RuntimeException re) {
|
|
|
LogUtil.errorLogInfo("", TAG, re);
|