m_installerContext.
widgetConfig.
tzAppid));
- getInstallerStruct().pkgmgrInterface->sendSignal(
- PKGMGR_START_KEY,
- PKGMGR_START_INSTALL);
-
LogInfo("Tizen App Id : " << m_installerContext.widgetConfig.tzAppid);
LogInfo("Tizen Pkg Id : " << m_installerContext.widgetConfig.tzPkgid);
LogInfo("W3C Widget GUID : " << m_installerContext.widgetConfig.guid);
if (update.existingWidgetInfo.isExist == false) {
LogInfo("Widget info does not exist");
updateTypeCheckBit = WidgetUpdateMode::NotInstalled;
+
+ getInstallerStruct().pkgmgrInterface->sendSignal(
+ PKGMGR_START_KEY,
+ PKGMGR_START_INSTALL);
+
} else {
LogInfo("Widget info exists. appid: " <<
update.existingWidgetInfo.tzAppid);
+ getInstallerStruct().pkgmgrInterface->sendSignal(
+ PKGMGR_START_KEY,
+ PKGMGR_START_UPDATE);
+
TizenAppId tzAppid = update.existingWidgetInfo.tzAppid;
LogInfo("Widget model exists. tizen app id: " << tzAppid);
#define PKGMGR_WEBAPP_TYPE "wgt"
#define PKGMGR_START_KEY "start"
#define PKGMGR_START_INSTALL "install"
+#define PKGMGR_START_UPDATE "update"
#define PKGMGR_START_UNINSTALL "uninstall"
#define PKGMGR_END_KEY "end"
#define PKGMGR_END_SUCCESS "ok"