1.Limit the max length of Network connection profile
[apps/core/preloaded/settings.git] / src / setting.c
index 192edcf..7f1e7ad 100755 (executable)
@@ -41,7 +41,6 @@ static void __main_motion_sensor_cb( unsigned long long timestamp, void *data)
        /* The code 'return ;' will be deleted after the defect of elm_genlist_item_top_show() is fixed */
 
        setting_retm_if(NULL == data, "NULL == data");
-       SETTING_TRACE_BEGIN;
        setting_main_appdata *ad = (setting_main_appdata *) data;
 
        SETTING_TRACE(">>>>>>>Double tap event detected");
@@ -81,7 +80,7 @@ static void __main_motion_sensor_cb( unsigned long long timestamp, void *data)
                        //SETTING_TRACE("content:%p", content);
 
                        const char *type = elm_object_widget_type_get(content);
-                       SETTING_TRACE("content type:%s", type);
+                       //SETTING_TRACE("content type:%s", type);
                        if (0 == safeStrCmp(type, "genlist")) {
                                genlist = content;
                        //} else if (0 == safeStrCmp(type, "layout") || 0 == safeStrCmp(type, "conformant")) {
@@ -99,7 +98,7 @@ static void __main_motion_sensor_cb( unsigned long long timestamp, void *data)
                                        type = elm_object_widget_type_get(subobj);
                                        if (0 == safeStrCmp(type, "genlist")) {
                                                genlist = subobj;
-                                               SETTING_TRACE("Get the genlist:%p", genlist);
+                                               //SETTING_TRACE("Get the genlist:%p", genlist);
                                                Elm_Object_Item *first_item = elm_genlist_first_item_get(genlist);
                                                if (first_item) {
                                                        elm_genlist_item_show(first_item, ELM_GENLIST_ITEM_SCROLLTO_TOP);
@@ -110,7 +109,7 @@ static void __main_motion_sensor_cb( unsigned long long timestamp, void *data)
                        } else {
                                //keep genlist to be NULL.
                        }
-                       SETTING_TRACE("genlist(:%p) type:%s", genlist, elm_object_widget_type_get(genlist));
+                       //SETTING_TRACE("genlist(:%p) type:%s", genlist, elm_object_widget_type_get(genlist));
                        if (genlist && 0 == safeStrCmp(elm_object_widget_type_get(genlist), "genlist")) {
                                SETTING_TRACE("Get the genlist:%p", genlist);
                                Elm_Object_Item *first_item = elm_genlist_first_item_get(genlist);