Add method for tw2 plugins support 43/118643/1 accepted/tizen/common/20170315.124729 accepted/tizen/ivi/20170314.224137 accepted/tizen/mobile/20170314.224114 accepted/tizen/tv/20170314.224122 accepted/tizen/unified/20170315.014858 accepted/tizen/wearable/20170314.224132 submit/tizen/20170314.214302
authorsinikang <sinikang@samsung.com>
Mon, 13 Mar 2017 10:21:56 +0000 (19:21 +0900)
committersinikang <sinikang@samsung.com>
Mon, 13 Mar 2017 10:21:56 +0000 (19:21 +0900)
 - mt call setup status
 - sim refresh stage

Change-Id: If8696865f468ebc63164a3017d0b925b241b48d9

introspection/sim.xml
packaging/tel-plugin-dbus_tapi.spec
src/dtapi_call.c
src/dtapi_sim.c

index 86202f07486eefefa9a3222c8435b9432612aac4..db0b2f7dba8f2834ff03b3a8f1793a5feae61a06 100644 (file)
                        <arg type="i" name="type"/>
                </signal>
 
+               <signal name="RefreshStage">
+                       <arg type="i" name="stage"/>
+               </signal>
                <property name="cf_state" type="i" access="read"/>
 
        </interface>
index 625fd7b6442fd61fd95dfc120d623049af6703cc..35e95e4d00137e81972a278a41bbed71c831caf9 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 80
+%define patchlevel 81
 
 Name:           tel-plugin-dbus_tapi
 Version:        %{major}.%{minor}.%{patchlevel}
index d655760044a6dec5e49686534ebbe7e0b5309521..c0e7f2d4c3b603f663241dec5e7d6b88c6c24c38 100644 (file)
@@ -506,6 +506,12 @@ static gboolean on_call_get_status_all(TelephonyCall *call,
                                call_status = TCORE_CALL_STATUS_DIALING;
                        }
 
+                       if(TCORE_CALL_STATUS_MT_SETUP == call_status){
+                               dbg("MT_SETUP state but  Incoming noti not notifed to app," \
+                                               "so change it to 'IDLE' ");
+                                       call_status = TCORE_CALL_STATUS_IDLE;
+                       }
+
                        call_multiparty_state = tcore_call_object_get_multiparty_state(call_obj);
                        is_volte_call = tcore_call_object_get_is_volte_call(call_obj);
                        is_hd_icon = tcore_call_object_get_hd_icon(call_obj);
index acd8fda905f9bd3ec04c37c20157b3952754e5a7..44b8b49b801247b997d97361e2fab44e4a9d0fc9 100644 (file)
@@ -3171,6 +3171,15 @@ gboolean dbus_plugin_sim_notification(struct custom_data *ctx,
        }
        break;
 
+       case TNOTI_SIM_REFRESH_STAGE: {
+               const struct tnoti_sim_refresh_stage *n_sim_refresh_stage = data;
+
+               info("[%s] SIM_REFRESH_STAGE - stage[%d]", cp_name, n_sim_refresh_stage->stage);
+
+               telephony_sim_emit_refresh_stage(sim, n_sim_refresh_stage->stage);
+       }
+       break;
+
        case TNOTI_SIM_CALL_FORWARD_STATE: {
                const struct tnoti_sim_call_forward_state *info = data;