Fix wrong description 26/97626/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 15 Nov 2016 00:38:05 +0000 (09:38 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 15 Nov 2016 00:42:35 +0000 (09:42 +0900)
Some APIs don't return STATUS_FOCUS.

Change-Id: Ia44f614508814765296bf9ffaf940c626652e633
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/aul.h

index cb8da7d..8fda7ac 100644 (file)
@@ -1805,12 +1805,9 @@ int aul_listen_app_launch_signal_v2(int (*func) (int, const char *, void *), voi
  * @param[in]  pid     pid of application
  * @return     0 or greater if success, nagative value if fail
  * @retval     STATUS_LAUNCHING
- * @retval     STATUS_CREATED
- * @retval     STATUS_FOCUS
  * @retval     STATUS_VISIBLE
  * @retval     STATUS_BG
  * @retval     STATUS_DYING
- * @retval     STATUS_HOME
  * @retval     STATUS_NORESTART
  * @see
  *     aul_status_update
@@ -1821,7 +1818,7 @@ int aul_listen_app_launch_signal_v2(int (*func) (int, const char *, void *), voi
  * {
  *     int status;
  *     status = aul_app_get_status_bypid(info->pid);
- *     if (status == STATUS_FOCUS) {
+ *     if (status == STATUS_VISIBLE) {
  *             printf("%s has focus", info->app_id);
  *             (int *)data = info->pid;
  *             return -1;
@@ -1851,12 +1848,9 @@ int aul_app_get_status_bypid(int pid);
  * @param[in]  uid     User ID
  * @return     0 or greater if success, nagative value if fail
  * @retval     STATUS_LAUNCHING
- * @retval     STATUS_CREATED
- * @retval     STATUS_FOCUS
  * @retval     STATUS_VISIBLE
  * @retval     STATUS_BG
  * @retval     STATUS_DYING
- * @retval     STATUS_HOME
  * @retval     STATUS_NORESTART
  *
  * @remark
@@ -1941,13 +1935,10 @@ int aul_app_get_status_for_uid(const char *appid, uid_t uid);
  *
  * int status_changed(int status, void *data)
  * {
- *     if (status == STATUS_FOCUS)
- *             printf("%d has focus\n", getpid());
- *
  *     if (status == STATUS_VISIBLE)
  *             printf("%d resume\n", getpid());
  *
- *     if (status == STATUS_BG0
+ *     if (status == STATUS_BG)
  *             printf("%d pause\n", getpid());
  * }
  *
@@ -1982,13 +1973,10 @@ int aul_add_status_local_cb(int (*func) (int, void *), void *data);
  *
  * int status_changed(int status, void *data)
  * {
- *     if (status == STATUS_FOCUS)
- *             printf("%d has focus\n", getpid());
- *
  *     if (status == STATUS_VISIBLE)
  *             printf("%d resume\n", getpid());
  *
- *     if (status == STATUS_BG0
+ *     if (status == STATUS_BG)
  *             printf("%d pause\n", getpid());
  * }
  *