Always go to the PWA webview 02/93502/3
authorKamil Nowac <k.nowac@samsung.com>
Mon, 24 Oct 2016 13:31:59 +0000 (15:31 +0200)
committerKamil Nowa? <k.nowac@samsung.com>
Tue, 25 Oct 2016 08:56:17 +0000 (01:56 -0700)
[Issue]    http://suprem.sec.samsung.net/jira/browse/TWF-2330
[Problem]  Does not go always to the webpageui
[Solution] Added condition
[Verify]   The browser app  -> Tab Manager window -> Home Key ->
           Launch PWA
           View should open in WebPageUI and not in tab manager
           view.

Change-Id: I94e7f1f9257f82c411a0fb4c773e148197b2f016

services/SimpleUI/SimpleUI.cpp

index a9d766e5e24d1512135a87522e3a700439c8ec86..3d263736ac3b3168471d671871eff75527a5d8a3 100755 (executable)
@@ -258,6 +258,8 @@ int SimpleUI::exec(const std::string& _url, const std::string& _caller)
             // Allow for only one instance of PWA
             if (m_alreadyOpenedPWA)
                 m_webEngine->closeTab();
+            if (!pwaUrl.empty())
+                popStackTo(m_webPageUI);
             m_alreadyOpenedPWA = !pwaUrl.empty();
 #endif