When the browser is lauch with URL, Browser can't lauch to it. 80/126380/1
authorHyeKyoung Hwang <cookie@samsung.com>
Fri, 21 Apr 2017 06:55:47 +0000 (15:55 +0900)
committerHyeKyoung Hwang <cookie@samsung.com>
Fri, 21 Apr 2017 06:55:47 +0000 (15:55 +0900)
[Problem]http://suprem.sec.samsung.net/jira/browse/RWASP-1011
[Cause] Browser can't give the url to new tab

Change-Id: Idab13ad17088f82ba80dbaf0efef932304bfb420
Signed-off-by: HyeKyoung Hwang <cookie@samsung.com>
services/SimpleUI/SimpleUI.cpp

index 15d4f967a1ca477d84fea7eb8c17aa1b9d1744ff..bfc167df01547770b6346e35ef599198c1b830eb 100755 (executable)
@@ -283,7 +283,7 @@ int SimpleUI::exec(const std::string& url, const std::string& caller, const std:
                 newUrl = m_webPageUI->getURIEntry().rewriteURI(url);
                 popStackTo(m_webPageUI);
             }
-            if (m_splash_screen.isVisible()) {
+            if ((!caller.compare("org.tizen.browser") || m_splash_screen.isVisible() )) {
                 auto taburl = pwaUrl.empty() ? newUrl : pwaUrl;
                 openNewTab(taburl);
             }