|
@@ -326,7 +326,7 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
|
|
|
|
|
|
- static public ArrayList<Intent> CallBrList;
|
|
|
+
|
|
|
|
|
|
IconManager mIconManager;
|
|
|
public IconInfoTable mIconInfoTable;
|
|
@@ -2765,31 +2765,31 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
|
|
|
|
|
|
- if(CallBrList == null)
|
|
|
- CallBrList = new ArrayList<Intent>();
|
|
|
+
|
|
|
+
|
|
|
|
|
|
Intent brListIntent = new Intent();
|
|
|
brListIntent.setAction(define.NOTIFY_ACNAME);
|
|
|
brListIntent.putExtra(define.NOTIBR_KIND, define.NOTIFY_SMART_DCAM_DETECT);
|
|
|
|
|
|
- if(CallBrList.size() > 1)
|
|
|
- {
|
|
|
- if(CallBrList.get(0) != brListIntent)
|
|
|
- {
|
|
|
- CallBrList.add(brListIntent);
|
|
|
- Log.d(TAG, "jglee - Call 인텐트 추가 > size : " + CallBrList.size() + ", Action : " + CallBrList.get(0).getAction());
|
|
|
- }
|
|
|
- }
|
|
|
- else {
|
|
|
- CallBrList.add(brListIntent);
|
|
|
- Log.d(TAG, "jglee - Call 인텐트 추가 > size : " + CallBrList.size() + ", Action : " + CallBrList.get(0).getAction());
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- if(CallBrList!=null && CallBrList.size() > 1)
|
|
|
- {
|
|
|
- return;
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
Log.d(TAG, "jglee - Call Record");
|
|
|
m_CallSubMenuScreen.callStartCallAPK(ID.LINKEDSCREEN.SubCall.Door_Record, nEmerState);
|
|
|
}
|
|
@@ -7169,12 +7169,12 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
static public Handler CallIntentHandler = new Handler(Looper.getMainLooper()) {
|
|
|
public void handleMessage(Message msg) {
|
|
|
- if(CallBrList!=null && CallBrList.size() > 0)
|
|
|
- {
|
|
|
- Intent intent = CallBrList.get(0);
|
|
|
- mContext_call.sendBroadcast(intent);
|
|
|
- Log.d(TAG, "jglee - Call Handler Next 호출 > Action : " + MainActivity.CallBrList.get(0).getAction() + ", Extra : " + MainActivity.CallBrList.get(0).getIntExtra(Common.BR_MAIN_NOTI.KIND,0) );
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
};
|