- add aul_prepare_candidate_process()
- Requires
https://review.tizen.org/gerrit/#/c/66672/
https://review.tizen.org/gerrit/#/c/66670/
Change-Id: If868ec3f51930ad3e9fda41b77533ab142ffa41d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
*/
int aul_launch_app_async_for_uid(const char *appid, bundle *kb, uid_t uid);
+/**
+ * @par Description:
+ * This API request launchpad to make candidate processes.
+ *
+ * @return 0 if success, negative value(<0) if fail
+ *
+ * @remark
+ * This API is only available in User Session.
+ */
+int aul_prepare_candidate_process(void);
+
#ifdef __cplusplus
}
#endif
APP_UNSET_APP_CONTROL_DEFAULT_APP,
APP_START_ASYNC,
APP_SET_PROCESS_GROUP,
+ APP_PREPARE_CANDIDATE_PROCESS,
APP_CMD_MAX
};
return ret;
}
+API int aul_prepare_candidate_process(void)
+{
+ unsigned char dummy[1] = { 0 };
+
+ return aul_sock_send_raw(AUL_UTIL_PID, getuid(),
+ APP_PREPARE_CANDIDATE_PROCESS, dummy, 0, AUL_SOCK_NONE);
+}
+