[Issue#] LINUXWRT-219
[Bug] N/A
[Cause] N/A
[Solution] Remove issues
[Verification] Build wrt-installer
Change-Id: Ibaa5523385597f3827cadd05b290a99fbb3a0030
LogInfo("incoming version = '" << update.incomingVersion);
LogInfo("Tizen AppID = " << update.tzAppId);
+ if (update.existingVersion.IsNull() || update.incomingVersion.IsNull()) {
+ return ConfigureResult::Failed;
+ }
+
// Check running state
bool isRunning = false;
int retval =
}
WidgetDAOReadOnly dao(tizenId);
+
+ OptionalWidgetVersion optVersion;
+ DPL::OptionalString version = dao.getVersion();
+ if (!version.IsNull()) {
+ optVersion = OptionalWidgetVersion(WidgetVersion(*version));
+ }
+
return WidgetUpdateInfo(
dao.getTzAppId(),
- WidgetVersion(*dao.getVersion()),
+ optVersion,
incomingVersion);
}