From: Hwankyu Jhun Date: Wed, 31 Jan 2018 07:07:23 +0000 (+0900) Subject: Fix a bug about onboot option X-Git-Tag: accepted/tizen/4.0/unified/20180131.125411~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43d2e2e5d1991bd29c2bee449c761343ee9ca935;p=platform%2Fcore%2Fappfw%2Flaunchpad.git Fix a bug about onboot option Change-Id: Iae608408db233a362f235d626efbcf33a653350b Signed-off-by: Hwankyu Jhun --- diff --git a/src/launchpad.c b/src/launchpad.c index 5fe0aba..49f2f81 100755 --- a/src/launchpad.c +++ b/src/launchpad.c @@ -1395,6 +1395,9 @@ static void __update_slot(int type, bool app_exists) __reset_slot(cpc); } } else { + if (!cpc->touched && !cpc->on_boot) + return; + if (cpc->pid == CANDIDATE_NONE && cpc->idle_checker == 0) { _get_cpu_idle(&total, &idle);