[Service][Workaround] Make singleton worker thread before app start 81/259281/11 accepted/tizen/unified/20210702.013502 submit/tizen/20210630.160022
authorDongHyun Song <dh81.song@samsung.com>
Fri, 4 Jun 2021 02:32:21 +0000 (11:32 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Wed, 30 Jun 2021 07:37:14 +0000 (07:37 +0000)
commit3d187f96060e9c367e861017b61cef832c9aa163
tree58d11126a641076583016ac7c3adef92e8972cbb
parent715718671e3494ae4c2e2b834f564547174f8491
[Service][Workaround] Make singleton worker thread before app start

This patch will make singleton webapi worker thread ahead of app
launching to keep it 'User' smack label.
There are lots usage of putting message at singleton worker thread by
 - TaskQueue::GetInstance().Queue()
 - TaskQueue::GetInstance().Async()

tizen.systeminfo.getPropertyValue() is one of API to use TaskQueue
singleton instance.

+ remove unnecessary log

Related patch of filesystem webapi worker issue:
https://review.tizen.org/gerrit/#/c/platform/core/api/webapi-plugins/+/259382/

Change-Id: I7e0abe5e93335d2798bc388f22a88aff754d8d2b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/common/service_runner.ts
wrt_app/service/device_api_router.ts