Fix StepKillApps
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 15 Jan 2019 23:04:56 +0000 (08:04 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 16 Jan 2019 04:57:19 +0000 (13:57 +0900)
commitd6f690979bf70a3776b39436501e8758a621000d
tree2fbbf47373654a105ac8a24b4d2faea5f729e385
parent1429dbbd01ea2c3ba51386c258685fd91edb2b89
Fix StepKillApps

This patch adds to check the elapsed time. After sending the terminate request,
we have to wait at least 5 seconds. According to Tizen policy,
the running application should be terminated within 5 seconds.
If the elapsed time exceeds 5 seconds, we send the kill request
to Application Manager to terminate the application forcedly.

Change-Id: Ic504f0899cfa55a13ff1eb2b8f6eee87ae9ec1ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/common/step/pkgmgr/step_kill_apps.cc