app_control_get_operation(service, &operation);
ge_sdbg("operation [%s]", operation);
- app_control_get_extra_data(service, APPSVC_DATA_SELECTION_MODE,
+ #ifdef FEATURE_SIZE_CHECK
+ int ret = app_control_get_extra_data(service, "http://tizen.org/appcontrol/data/total_size", &(ugd->limitsize));
+ if (ret != APP_CONTROL_ERROR_NONE) {
+ //Test data
+ //ugd->limitsize = 2 * 1024 * 1024;
+ }
+ #endif
+
+ app_control_get_extra_data(service, APP_CONTROL_DATA_SELECTION_MODE,
&select_mode);
if (select_mode) {
if (!strcasecmp(select_mode, GE_BUNDLE_SELECTION_MODE_SINGLE)) {