[VD] Move notifyInstall() to TVExtension 91/261491/3 submit/tizen/20210722.160020
authorDongHyun Song <dh81.song@samsung.com>
Tue, 20 Jul 2021 05:08:26 +0000 (14:08 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Wed, 21 Jul 2021 05:15:51 +0000 (05:15 +0000)
Move notifyInstall() to TVExtension

Related chromium-efl patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/261490/

Change-Id: I29b1297e49117b855efb0c86eeea9f1df5abe93c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/service/builtins/appmanifest_loader.ts

index c143a5d..69622af 100644 (file)
@@ -135,7 +135,7 @@ function installWgt(appName: string) {
   let wgtPath = `${baseWorkingDir}/${appName}/${appName}.wgt`;
   let installinfo = "{\"app_id\":\"" + appName + "\",\"pkg_path\":\"" + wgtPath + "\"}";
   console.log(`installWgt info: ${installinfo}`);
-  wrt.notifyInstall(installinfo);
+  wrt.tv?.notifyInstall(installinfo);
   process.exit();
 }