From fb60e91d2a299cc30a3dbb7000e1144efa118ff3 Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Fri, 24 May 2013 10:16:09 +0900 Subject: [PATCH] change minimum value of update-period attribute to 1800.0 second [Issue#] N/A [Problem] checking minimum value of update-period is not correct. [Cause] Core specification of Tizen 2.1 regarding update-period has been changed [Solution] parser code and schema file is changed to have minimum value of update-period as 1800.0 second Change-Id: I533d22ac01de96ab820d82a6a711210e8cbb97c5 --- src/configuration_parser/widget_parser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configuration_parser/widget_parser.cpp b/src/configuration_parser/widget_parser.cpp index 3ad631f..3bc0167 100644 --- a/src/configuration_parser/widget_parser.cpp +++ b/src/configuration_parser/widget_parser.cpp @@ -2058,9 +2058,9 @@ class AppWidgetParser : public ElementParser || *endptr != '\0') { ThrowMsg(Exception::ParseError, "update-period attribute of app-widget element should be a number - ignoring. current value: " << m_updatePeriod); - } else if (updatePeriod < 60.0) { - LogDebug("update-period attribute of app-widget element shouldn't be less than 60.0 - changed to 60 from value: " << m_updatePeriod); - m_updatePeriod = L"60.0"; + } else if (updatePeriod < 1800.0) { + LogDebug("update-period attribute of app-widget element shouldn't be less than 1800.0 - changed to 1800 from value: " << m_updatePeriod); + m_updatePeriod = L"1800.0"; } } -- 2.7.4