Fix the wrong implementation 91/210691/2
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 24 Jul 2019 03:06:58 +0000 (12:06 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 24 Jul 2019 03:14:50 +0000 (12:14 +0900)
commitbf187249b3b74a265dc75899f6f518542cb48ced
treea4fa4359e67f9c3b56eb6bd2d563cac707cb1ff5
parenteeb449a0e8771d323c0bc0b53f4d1f559900d573
Fix the wrong implementation

To use component_manager_is_running(), the packagemanager.info privilege
is needed. And, if the component context in the function cannot be created
with COMPONENT_MANAGER_ERROR_NO_SUCH_COMPONENT, the running flag should be
"false".

Change-Id: Ide782a88809daefcb739b51aaa63b982735a49cd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/component_manager.h
src/component_manager.c