From: Manuel Bachmann Date: Mon, 30 Dec 2013 11:40:54 +0000 (+0100) Subject: Use the newly-implemented TIZEN_LAUNCH IPC call, so we can X-Git-Tag: accepted/tizen/ivi/release/20140410.164949^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_ivi_release;p=platform%2Fframework%2Fweb%2Fwrt-plugins-tizen.git 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 --- 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)