Fixed crash when RDS mode is not supported
[framework/web/wrt-installer.git] / src / jobs / widget_install / job_widget_install.cpp
index 546d263..46d88b9 100644 (file)
@@ -267,7 +267,7 @@ JobWidgetInstall::JobWidgetInstall(
 
         AddTask(new InstallerTaskFail(result));
     } else if (result >= ConfigureResult::Failed &&
-            result <= ConfigureResult::Failed_DrmError) {
+            result <= ConfigureResult::Failed_NotSupportRDSUpdate) {
         // Installation is not allowed to proceed due to widget update policy
         LogWarning("Configure installation failed!");
 
@@ -1132,7 +1132,7 @@ bool JobWidgetInstall::checkSupportRDSUpdate(const WrtDB::ConfigParserData
 
         FOREACH(data, configInfo.settingsList)
         {
-            if (data->m_name == SETTING_VALUE_ENCRYPTION) 
+            if (data->m_name == SETTING_VALUE_ENCRYPTION)
             {
                 configValue = data->m_value;
             }