Fix wrong implementation of pkginfo API 85/279985/5
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 22 Aug 2022 04:07:25 +0000 (04:07 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 22 Aug 2022 10:38:37 +0000 (10:38 +0000)
commit2341a0b3038daa575263ac5922d4780297ee7a67
tree5a96f64a36ad221e0cdeccda8f42d3f8de5c6878
parent3f65a2a5bb3801f2993ce0169b6d724015934d6b
Fix wrong implementation of pkginfo API

The socket option of some requests have to be AUL_SOCK_NONE and AUL_SOCK_BUNDLE.
The application ID that is set to the bundle will be removed while creating
the AppRequest instance. To set the application ID to the bundle properly, we
should use the AppRequest::SetAppId() method.

Change-Id: I43cadc2aa633b8afa55375d2461e69c98467c525
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/pkginfo.cc
test/unit_tests/test_pkginfo.cc