[Issue#] N/A
[Problem] If PD's start page is remote url, improper path is written to manifest(xml)
[Cause] wrt-installer doesn't consider that PD's start page is remote
[Solution] scheme of PD's start page is checked, and then if the scheme is http(s), remote url is written to manifest
Change-Id: Id1ec90355160509059c0307911c727f3fe0e124a
&& !ConfigInfo->m_boxInfo.m_pdWidth.empty()
&& !ConfigInfo->m_boxInfo.m_pdHeight.empty())
{
- box.pdSrc = defaultLocale + ConfigInfo->m_boxInfo.m_pdSrc;
+ if ((0 == ConfigInfo->m_boxInfo.m_pdSrc.compare(0, 4, L"http"))
+ || (0 == ConfigInfo->m_boxInfo.m_pdSrc.compare(0, 5, L"https")))
+ {
+ box.pdSrc = ConfigInfo->m_boxInfo.m_pdSrc;
+ } else {
+ box.pdSrc = defaultLocale + ConfigInfo->m_boxInfo.m_pdSrc;
+ }
box.pdWidth = ConfigInfo->m_boxInfo.m_pdWidth;
box.pdHeight = ConfigInfo->m_boxInfo.m_pdHeight;
}