Fix subsession paths 85/278285/3
authorKonrad Lipinski <k.lipinski2@samsung.com>
Mon, 18 Jul 2022 10:22:49 +0000 (12:22 +0200)
committerKonrad Lipinski <k.lipinski2@samsung.com>
Mon, 18 Jul 2022 16:38:10 +0000 (18:38 +0200)
commit2418a37d00f8ca03df1684c51d5ec61ac07f8687
tree0f7dbef95444b2db6c12b56516d53c8afb76bc00
parentbde49ebdad230f5be5f83fc0886a331cfcd3b6f1
Fix subsession paths

* place the "subsession" dir in TZ_USER_HOME instead of TZ_USER_APP
* skip over the empty subsession as returned by sessiond
* add sharedRO paths if applicable
* refrain from labelling paths inside skelDir for local installations
* refactor related code to reduce redundancy and improve robustness

Change-Id: I2ede9f53f490c9bf57d390796e2ca5a1774f8a09
src/common/include/service_impl_utils.h
src/common/service_impl.cpp
src/common/service_impl_utils.cpp
test/test_service_impl_utils.cpp