Enable size check during attaching 18/59418/1 accepted/tizen/mobile/20160216.002611 submit/tizen_mobile/20160215.104620
authorPrakash <prakashc.p@samsung.com>
Mon, 15 Feb 2016 10:44:38 +0000 (16:14 +0530)
committerPrakash <prakashc.p@samsung.com>
Mon, 15 Feb 2016 10:44:38 +0000 (16:14 +0530)
Change-Id: I4ba8d354fac28d05a0db754b9310b0d4e1a44ba5
Signed-off-by: Prakash <prakashc.p@samsung.com>
src/view/audio-recorder-view.c

index 6a771cb..66356c7 100644 (file)
@@ -349,7 +349,8 @@ void _main_layout_add(Evas_Object *layout, ui_gadget_h ug_handle, app_control_h
        view->limitsize = 0;
        int ret = 0;
        char *size_limit = NULL;
-       ret = app_control_get_extra_data(service, "http://tizen.org/appcontrol/data/total_size", &(size_limit));
+
+       ret = app_control_get_extra_data(service, APP_CONTROL_DATA_TOTAL_SIZE, &(size_limit));
        if (ret != APP_CONTROL_ERROR_NONE) {
                LOGD("Failed to get total_size information!!");
        } else {