From 659d3d9ef99ad6d2365a6bc082c94bb8098bc161 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 30 Dec 2013 12:40:54 +0100 Subject: [PATCH] Use the newly-implemented TIZEN_LAUNCH IPC call, so we can react to it from the WebView's side (to disable fullscreen and thus allow another application to raise e.g.). Fixes "tizen.application.launch()" does not bring already.. Bug-Tizen: https://bugs.tizen.org/jira/browse/TIVI-2143 Change-Id: I03bb588bc05576795c39f344cdeb689020332ce5 Signed-off-by: Manuel Bachmann --- src/Application/JSApplicationManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Application/JSApplicationManager.cpp b/src/Application/JSApplicationManager.cpp index 943c343..4f2885a 100644 --- a/src/Application/JSApplicationManager.cpp +++ b/src/Application/JSApplicationManager.cpp @@ -204,6 +204,8 @@ JSValueRef JSApplicationManager::launch(JSContextRef context, std::string id = validator.toString(0); event->setAppId(id); + IPCMessageSupport::sendAsyncMessageToUiProcess(IPCMessageSupport::TIZEN_LAUNCH, NULL, NULL, NULL); + // successCallback JSObjectRef successCallback = validator.toFunction(1, true); if (successCallback) -- 2.7.4