The K_CAN_BE_LEADER key is for special apps.
Change-Id: Ie6ab571daea5c9a67a63245f1ff8e056b1a8b4db
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
#include "aul_util.h"
#include "launch.h"
-/*#define ACTIVATE_PREEMPT_FEATURE*/
+#ifndef K_CAN_BE_LEADER
+#define K_CAN_BE_LEADER "__K_CAN_BE_LEADER__"
+#endif
typedef struct _app_resultcb_info_t {
int launched_pid;
if (__set_caller_info(kb) < 0)
return AUL_R_EINVAL;
+ bundle_del(kb, K_CAN_BE_LEADER);
+
dupb = bundle_dup(kb);
if (dupb == NULL) {
_E("bundle duplicate fail");