[Issue#] TDIS-2699
[Problem] widget application is able to be installed successfully with invalid/notexist version.
[Cause] version check is wrong.
[Solution] Fixed false when version is with invalid/notexist.
[SCMRequest] N/A
Change-Id: Iede493d03a9dd69231cbecdfee023b51a2fa42e1
if (widgetVersion.IsNull() || (*widgetVersion).empty()) {
LogWarning("minVersion attribute is empty. WRT assumes platform "
"supports this widget.");
- return true;
+ return false;
}
//Parse widget version
minorWidget, microWidget))
{
LogWarning("Invalid format of widget version string.");
- return true;
+ return false;
}
//Parse supported version