}
ugd->max_count = -1;
-#if 0//Tizen3.0 Build error
+
char *max_cnt = NULL;
app_control_get_extra_data(service, APP_CONTROL_DATA_TOTAL_COUNT, &max_cnt);
if (max_cnt) {
GE_FREE(max_cnt);
}
ge_sdbg("max count: %d", ugd->max_count);
-#endif
+
if (!ugd->overlap_mode) {
char *indicator = NULL;
app_control_get_extra_data(service, "indicator-state", &indicator);
app_control_set_launch_mode(svc_handle, APP_CONTROL_LAUNCH_MODE_GROUP);
app_control_set_app_id(svc_handle, "ug-gallery-efl");
app_control_set_mime(svc_handle, "image/*");
-#if 0//Tizen3.0 Build error
app_control_add_extra_data(svc_handle, APP_CONTROL_DATA_TOTAL_COUNT, maximum_count);
-#endif
app_control_add_extra_data(svc_handle, "launch-type", "select-multiple");
app_control_add_extra_data(svc_handle, "file-type", "image");
app_control_add_extra_data(svc_handle, "hide-personal", "true");