summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinikang <sinikang@samsung.com>2018-10-24 18:05:12 +0900
committersinikang <sinikang@samsung.com>2018-10-24 18:05:12 +0900
commitd7052f610b5dd243ccf3b5203f522944c8474f31 (patch)
treebe1c14f796a1519b8ed5a00556164182409d890a
parent0d57754044e352c982d499b16f85257210d536f8 (diff)
downloadw-ciss-d7052f610b5dd243ccf3b5203f522944c8474f31.tar.gz
w-ciss-d7052f610b5dd243ccf3b5203f522944c8474f31.tar.bz2
w-ciss-d7052f610b5dd243ccf3b5203f522944c8474f31.zip
Change-Id: I8b0a43609afa85abe9d0230f4e7d5df9d0ba94b8
-rw-r--r--packaging/org.tizen.w-ciss.spec2
-rw-r--r--src/ciss-resp.c2
-rw-r--r--src/ciss-widget.c41
3 files changed, 3 insertions, 42 deletions
diff --git a/packaging/org.tizen.w-ciss.spec b/packaging/org.tizen.w-ciss.spec
index a1ee231..baf6ba2 100644
--- a/packaging/org.tizen.w-ciss.spec
+++ b/packaging/org.tizen.w-ciss.spec
@@ -1,6 +1,6 @@
%define major 0
%define minor 1
-%define patchlevel 1
+%define patchlevel 2
Name: org.tizen.w-ciss
Summary: CISS-MMI application
diff --git a/src/ciss-resp.c b/src/ciss-resp.c
index 02d0321..031ec71 100644
--- a/src/ciss-resp.c
+++ b/src/ciss-resp.c
@@ -622,6 +622,8 @@ Evas_Object *_ciss_create_ss_resp_view(Evas_Object *parent, void *tapi_data, voi
elm_object_part_content_set(main_ly, "elm.swallow.content", content);
navi_it = elm_naviframe_item_push(nf, NULL, NULL, NULL, main_ly, "empty");
+ if (navi_it == NULL)
+ DBG("elm_naviframe_item_push returns NULL");
#else /* _CISS_WEARABLE_CIRCLE_UI */
Evas_Object *genlist =
diff --git a/src/ciss-widget.c b/src/ciss-widget.c
index 1657ccc..28b4fe2 100644
--- a/src/ciss-widget.c
+++ b/src/ciss-widget.c
@@ -208,47 +208,6 @@ int _ciss_get_modem_auto_always_on()
return result;
}
-static void __ciss_lpm_mode_svc_type_cb(keynode_t *key, void *data)
-{
- int svc_type = 0;
- ciss_appdata_t *ad = (ciss_appdata_t *)data;
- svc_type = vconf_keynode_get_int(key);
-
- DBG("svc_type(%d)", svc_type);
-
- if (svc_type == VCONFKEY_TELEPHONY_SVCTYPE_2G || svc_type == VCONFKEY_TELEPHONY_SVCTYPE_2_5G ||
- svc_type == VCONFKEY_TELEPHONY_SVCTYPE_2_5G_EDGE || svc_type == VCONFKEY_TELEPHONY_SVCTYPE_3G ||
- svc_type == VCONFKEY_TELEPHONY_SVCTYPE_HSDPA || svc_type == VCONFKEY_TELEPHONY_SVCTYPE_LTE ||
- svc_type == VCONFKEY_TELEPHONY_SVCTYPE_EMERGENCY) {
-
- DBG("svc_type(%d)", svc_type);
- if (ad->popup) {
- evas_object_del(ad->popup);
- ad->popup = NULL;
- }
- vconf_ignore_key_changed(VCONFKEY_TELEPHONY_SVCTYPE, __ciss_lpm_mode_svc_type_cb);
-
- DBG("try to send ss");
- DBG("scale = %f", elm_config_scale_get());
-
- ciss_mmi_context_t mmi_ctx;
- ciss_err_t ciss_err_code;
-
- ciss_err_code = _ciss_parse_req_string(ad->req_string, &mmi_ctx);
-
- if (ciss_err_code != CISS_ERR_NONE) {
- _ciss_create_error_popup(ad->layout_main, ciss_err_code, 2.0, ad);
- } else {
- ciss_err_code = _ciss_send_tapi_request(&mmi_ctx, ad);
- DBG("ciss_err_code(_ciss_send_tapi_request) = %d", ciss_err_code);
- if (ciss_err_code != CISS_ERR_NONE) {
- _ciss_create_error_popup(ad->layout_main, ciss_err_code, 2.0, ad);
- }
- }
- }
-}
-
-
static Eina_Bool __ciss_lpm_mode_disabled_check_timer_cb(void *data)
{
static int timer_count = 0;