app: Change async call timeout to 120sec. 05/150905/1
authorpr.jung <pr.jung@samsung.com>
Tue, 19 Sep 2017 04:46:04 +0000 (13:46 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 19 Sep 2017 05:38:30 +0000 (05:38 +0000)
Change-Id: I09f1c634cd09246fb481a7bd4d6a3d32ee629147
Signed-off-by: pr.jung <pr.jung@samsung.com>
(cherry picked from commit 8b5a310953a56fc7281793ebb63cf79e3634d176)

apps/extended-sd/src/dbus-call.c
apps/extended-sd/src/es-internal-storage-page.c
apps/extended-sd/src/es-portable-storage-page.c

index e1ddfff..cdc503e 100644 (file)
@@ -402,7 +402,7 @@ int dbus_method_async_with_reply(const char *dest, const char *path,
                        method,                          /* method name */
                        append_g_variant(sig, param),    /* parameters */
                        G_DBUS_CALL_FLAGS_NONE,
-                       DBUS_REPLY_TIMEOUT,              /* timeout */
+                       timeout, //DBUS_REPLY_TIMEOUT,   /* timeout */
                        NULL,                            /* GCancellable */
                        (GAsyncReadyCallback)cb_pending, /* GAsyncReadyCallback */
                        pdata);                          /* user data */
index 00834c5..e5f2d94 100644 (file)
@@ -126,7 +126,7 @@ _continue_click_cb(void *data, Evas_Object* obj, void *event_info)
                        "iis",
                        arr,
                        format_done,
-                       -1,
+                       120000,  // ms
                        ad);
        if (ret < 0)
                DMSG("Failed to format", ret);
index 01077f6..6e9ffdb 100644 (file)
@@ -98,7 +98,7 @@ _format_click_cb(void *data, Evas_Object* obj, void *event_info)
                        "iis",
                        arr,
                        format_done,
-                       -1,
+                       120000,
                        ad);
        if (ret < 0)
                DMSG("Failed to format", ret);