summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2017-06-28 20:40:15 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2017-06-28 12:20:17 +0000
commit02549694f57c4f4455d22319b086ecb32e1790da (patch)
tree00903c6aef62ac163478c4e307b7364089fedc30
parentbb8ab2d38009079bb2cf7fb8f7a3b8ceffd0b8aa (diff)
downloadaul-1-submit/tizen_3.0/20170630.012339.tar.gz
aul-1-submit/tizen_3.0/20170630.012339.tar.bz2
aul-1-submit/tizen_3.0/20170630.012339.zip
- aul_notify_exit https://review.tizen.org/gerrit/#/c/136199/ (amd) https://review.tizen.org/gerrit/#/c/136200/ (aul-1) https://review.tizen.org/gerrit/#/c/136201/ (appcore-widget) https://review.tizen.org/gerrit/#/c/136209/ (widget-service) Change-Id: I30739b610b42cd11c10b59888312bf7ea641da0e Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
-rw-r--r--include/aul.h6
-rw-r--r--include/aul_cmd.h2
-rw-r--r--src/status.c6
-rw-r--r--src/widget.c6
4 files changed, 11 insertions, 9 deletions
diff --git a/include/aul.h b/include/aul.h
index b0041b4f..c55c1d24 100644
--- a/include/aul.h
+++ b/include/aul.h
@@ -273,7 +273,9 @@ typedef enum aul_widget_instance_event {
/** AUL internal private key */
#define AUL_K_CHILD_APPID "__AUL_CHILD_APPID__"
/** AUL internal private key */
-#define AUL_K_WIDGET_FAULT "__AUL_WIDGET_FAULT__"
+#define AUL_K_IS_FAULT "__AUL_IS_FAULT__"
+
+
/**
@@ -3055,7 +3057,7 @@ int aul_ignore_app_status(status_listen_h handle);
/**
* This API is only for Appfw internally.
*/
-int aul_widget_notify_exit(void);
+int aul_notify_exit(void);
#ifdef __cplusplus
}
diff --git a/include/aul_cmd.h b/include/aul_cmd.h
index 5b3905b9..cf16ccc9 100644
--- a/include/aul_cmd.h
+++ b/include/aul_cmd.h
@@ -121,7 +121,7 @@ enum app_cmd {
APP_WINDOW_DETACH = 91,
APP_START_RES_ASYNC = 92,
- WIDGET_NOTIFY_EXIT = 93,
+ APP_NOTIFY_EXIT = 93,
APP_CMD_MAX
};
diff --git a/src/status.c b/src/status.c
index 39dac099..2e30634b 100644
--- a/src/status.c
+++ b/src/status.c
@@ -371,3 +371,9 @@ API int aul_ignore_app_status(status_listen_h handle)
return AUL_R_OK;
}
+
+API int aul_notify_exit(void)
+{
+ return aul_sock_send_raw(AUL_UTIL_PID, getuid(),
+ APP_NOTIFY_EXIT, NULL, 0, AUL_SOCK_NOREPLY);
+} \ No newline at end of file
diff --git a/src/widget.c b/src/widget.c
index da0cf525..6b1bc815 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -263,9 +263,3 @@ API int aul_widget_instance_count(const char *widget_id)
return ret;
}
-
-API int aul_widget_notify_exit(void)
-{
- return aul_sock_send_raw(AUL_UTIL_PID, getuid(),
- WIDGET_NOTIFY_EXIT, NULL, 0, AUL_SOCK_NOREPLY);
-}