|
@@ -984,8 +984,8 @@ public class iMapServer extends Service {
|
|
|
case define.NOTIFY_SMART_DCAM_DETECT:
|
|
|
// 스마트현관카메라 거동수상자 발생
|
|
|
// Toast.makeText(getApplicationContext(), "Front camera sensor: DETECTED!!", Toast.LENGTH_SHORT).show();
|
|
|
- //jglee - 현관문인경우 파악을 위해
|
|
|
- if(Common.bWallPadCallFrontLive || bBlockFrontCall)
|
|
|
+ //jglee - 통화중일 경우
|
|
|
+ if(Common.bWallPadCallingLive || bBlockFrontCall)
|
|
|
{
|
|
|
//현관문일 경우만 return 함
|
|
|
Log.i(TAG, "[mWallPadNotifyBR] define.NOTIFY_SMART_DCAM_DETECT -> bWallPadCallLive [" + bWallPadCallLive + "] return - BR_RECORD_DELAY");
|
|
@@ -15577,8 +15577,8 @@ public class iMapServer extends Service {
|
|
|
bWallPadCallLive = false;
|
|
|
bWallPadRecoder = false;
|
|
|
Common.bWallPadCallLive = bWallPadCallLive;
|
|
|
- //jglee - 현관문 변수 초기화
|
|
|
- Common.bWallPadCallFrontLive = false;
|
|
|
+ //jglee - 변수 초기화
|
|
|
+ Common.bWallPadCallingLive = false;
|
|
|
}
|
|
|
|
|
|
if (bWallPadCallLive != getCallAppRunning()) {
|
|
@@ -15629,12 +15629,12 @@ public class iMapServer extends Service {
|
|
|
Log.w(TAG,"[WallPadCallLiveBRCheck] bWallPadCallLive [" + bWallPadCallLive + "]");
|
|
|
|
|
|
//jglee 여기서 Extra변수값을 적용
|
|
|
- boolean isFront = false;
|
|
|
- isFront = intent.getBooleanExtra("isFront", false);
|
|
|
+ boolean isCalling = false;
|
|
|
+ isCalling = intent.getBooleanExtra("isCalling", false);
|
|
|
|
|
|
- if(Common.bWallPadCallFrontLive != isFront)
|
|
|
+ if(Common.bWallPadCallingLive != isCalling)
|
|
|
{
|
|
|
- if(isFront)
|
|
|
+ if(isCalling)
|
|
|
{
|
|
|
//현관문사용일 경우
|
|
|
Intent Newintent = new Intent();
|
|
@@ -15650,7 +15650,7 @@ public class iMapServer extends Service {
|
|
|
Log.w(TAG, "[WallPadCallLiveBRCheck] BR_RECORD_DELAY");
|
|
|
}
|
|
|
}
|
|
|
- Common.bWallPadCallFrontLive = isFront;
|
|
|
+ Common.bWallPadCallingLive = isCalling;
|
|
|
}
|
|
|
else {
|
|
|
Log.w(TAG,"[WallPadCallLiveBRCheck] Not supported strActionName [" + strActionName + "]");
|