diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-07-18 14:18:36 +0900 |
---|---|---|
committer | HwanKyu Jhun <h.jhun@samsung.com> | 2017-07-18 05:22:37 +0000 |
commit | dccc81299a8f8af5f03efd0806064917ecd8019b (patch) | |
tree | 0316862c9446a2067550d230a8dbc163e5c66c33 | |
parent | c41270dcb0a67a01719a1a25cc8f5ec80fedcd1d (diff) | |
download | widget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.tar.gz widget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.tar.bz2 widget-service-dccc81299a8f8af5f03efd0806064917ecd8019b.zip |
Add a return value of widget_instance_trigger_update APIsubmit/tizen_3.0/20170719.221437accepted/tizen/3.0/wearable/20170721.023925accepted/tizen/3.0/tv/20170721.023914accepted/tizen/3.0/mobile/20170721.023903accepted/tizen/3.0/ivi/20170721.023936accepted/tizen/3.0/common/20170721.115155
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.c | 3 |
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; } |