[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
|| *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";
}
}