summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-07-18 14:18:36 +0900
committerHwanKyu Jhun <h.jhun@samsung.com>2017-07-18 05:22:37 +0000
commitdccc81299a8f8af5f03efd0806064917ecd8019b (patch)
tree0316862c9446a2067550d230a8dbc163e5c66c33
parentc41270dcb0a67a01719a1a25cc8f5ec80fedcd1d (diff)
downloadwidget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.tar.gz
widget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.tar.bz2
widget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.zip
When getting the AUL_R_ECANCELED from the amd, the API will return the WIDGET_ERROR_CANCELED. This path is for backward compatibility. Requires: - https://review.tizen.org/gerrit/#/c/139230/ [aul] - https://review.tizen.org/gerrit/#/c/139241/ [amd] - https://review.tizen.org/gerrit/#/c/139242/ [widget-service] Change-Id: I947aaf6283663894f532be7dbfe77e12bdfa6779 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--src/widget_instance.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widget_instance.c b/src/widget_instance.c
index dcbdaf2..cefdd6b 100644
--- a/src/widget_instance.c
+++ b/src/widget_instance.c
@@ -1026,6 +1026,9 @@ EAPI int widget_instance_trigger_update_v2(const char *widget_id,
case AUL_R_EINVAL:
ret = WIDGET_ERROR_INVALID_PARAMETER;
break;
+ case AUL_R_ECANCELED:
+ ret = WIDGET_ERROR_CANCELED;
+ break;
default:
ret = WIDGET_ERROR_FAULT;
}