Merge branch 'tizen_dev' into tizen_3.0 93/99993/1 submit/tizen_3.0/20161124.155320
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Thu, 24 Nov 2016 15:37:14 +0000 (17:37 +0200)
committerAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Thu, 24 Nov 2016 15:37:14 +0000 (17:37 +0200)
Signed-off-by: Aleksandr Sapozhnik <a.sapozhnik@samsung.com>
Conflicts:
app-control/alert/CalAlertData.cpp
main-app/src/search/CalSearchView.cpp
main-app/src/search/CalSearchView.h
main-app/src/setting/CalSettingsView.cpp

Change-Id: Id32642855655d961f38eefeedfe89d3d8943256f

12 files changed:
1  2 
app-control/alert/CalAlertData.cpp
common/CalCommon.h
common/model/CalDataManager.cpp
common/model/CalDataManager.h
main-app/src/common/CalUnderlineEditField.cpp
main-app/src/edit/CalEditView.cpp
main-app/src/list/CalListControl.cpp
main-app/src/list/CalScheduleListControl.cpp
main-app/src/search/CalSearchView.cpp
main-app/src/search/CalSearchView.h
main-app/src/setting/CalSettingsView.cpp
widget/CalWidgetApp.cpp

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -69,8 -69,9 +69,8 @@@ Evas_Object *CalListControl::onCreate(E
  
        evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
        evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_scroller_policy_set( genlist, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
+       elm_scroller_policy_set(genlist, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
        evas_object_show(genlist);
 -      elm_object_tree_focus_allow_set(genlist, EINA_FALSE);
  
        return genlist;
  }
@@@ -589,11 -584,11 +589,11 @@@ void CalScheduleListControl::showCheckB
        __isHideCheck = !showCheck;
        Elm_Object_Item *it = __getFirstItem();
        Elm_Object_Item *next = it;
-       while(next) {
+       while (next) {
                Item *item = (Item *)elm_object_item_data_get(next);
 -              if (item->isGroupTitle()) {
 -                              item->setCheckable(showCheck);
 -                              elm_genlist_item_fields_update(next, "elm.swallow.content", ELM_GENLIST_ITEM_FIELD_CONTENT);
 +              if (item && item->isGroupTitle()) {
 +                      item->setCheckable(showCheck);
 +                      elm_genlist_item_fields_update(next, "elm.swallow.content", ELM_GENLIST_ITEM_FIELD_CONTENT);
                }
                next = elm_genlist_item_next_get(next);
        }
Simple merge
Simple merge
@@@ -157,13 -158,12 +158,13 @@@ void CalSettingsView::onNotificationSou
        app_control_set_launch_mode(service, APP_CONTROL_LAUNCH_MODE_GROUP);
  
        CalAppControlLauncher::getInstance().sendLaunchRequest(service,
-               [](app_control_h request, app_control_h reply, app_control_result_e result, voiddata) {
+               [](app_control_h request, app_control_h reply, app_control_result_e result, void *data) {
                        CalSettingsView *self = (CalSettingsView *)data;
  
 -                      char *ringtone = NULL;
 -                      int error = 0;
 -                      error = app_control_get_extra_data(reply, APP_CONTROL_SETTING_RINGTONE_KEY_RESULT, &ringtone);
 +                      char **ringtone = nullptr;
 +                      int count = 0;
 +                      int error = app_control_get_extra_data_array(reply, APP_CONTROL_DATA_SELECTED, &ringtone, &count);
 +
                        if (error != APP_CONTROL_ERROR_NONE) {
                                WERROR("get extra data by key result is failed(%x)", error);
                                return;
                        }
  
                        free(ringtone);
 -                      ringtone = NULL;
  
-                       elm_genlist_item_update((Elm_Object_Item*)self->__noti_sound_item->getElmObjectItem());
+                       elm_genlist_item_update((Elm_Object_Item *)self->__noti_sound_item->getElmObjectItem());
                },
                this,
                getEvasObj()
Simple merge