projects
/
framework
/
web
/
wrt-installer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed crash when RDS mode is not supported
[framework/web/wrt-installer.git]
/
src
/
jobs
/
widget_install
/
job_widget_install.cpp
diff --git
a/src/jobs/widget_install/job_widget_install.cpp
b/src/jobs/widget_install/job_widget_install.cpp
index
546d263
..
46d88b9
100644
(file)
--- a/
src/jobs/widget_install/job_widget_install.cpp
+++ b/
src/jobs/widget_install/job_widget_install.cpp
@@
-267,7
+267,7
@@
JobWidgetInstall::JobWidgetInstall(
AddTask(new InstallerTaskFail(result));
} else if (result >= ConfigureResult::Failed &&
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!");
// 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)
{
FOREACH(data, configInfo.settingsList)
{
- if (data->m_name == SETTING_VALUE_ENCRYPTION)
+ if (data->m_name == SETTING_VALUE_ENCRYPTION)
{
configValue = data->m_value;
}
{
configValue = data->m_value;
}