[Service] Expose app id related APIs to public and add getCallerAppId 03/239803/6
authorYoungsoo Choi <kenshin.choi@samsung.com>
Thu, 30 Jul 2020 02:35:16 +0000 (19:35 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 19 Aug 2020 23:44:41 +0000 (16:44 -0700)
commit4602d90a1c273e4ced1991e2b869d1b43f35a9ed
tree348ddd7866c88e5b4412ac6068f229c6feb72156
parent1d69bfb0915c3e30b240e7ec68f65ad44f3db0db
[Service] Expose app id related APIs to public and add getCallerAppId

This exposes getServiceId and getPackageId APIs to puglic profile.

Also, this newly adds getCallerAppId for the use of service apps.
For instance, it can be used when a service app wants to make
a messageport connection with a caller web app.

If there's no caller app, it returns ''.

Change-Id: Icfe221cb23acfb3587b38bd75fdce28ea5d2a23e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
wrt_app/common/service_manager.ts