Use the newly-implemented TIZEN_LAUNCH IPC call, so we can 88/19288/1 accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/ivi/release/20140410.164949 submit/tizen_ivi_release/20140410.123959
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 30 Dec 2013 11:40:54 +0000 (12:40 +0100)
committerMikko Ylinen <mikko.ylinen@intel.com>
Thu, 10 Apr 2014 04:48:27 +0000 (07:48 +0300)
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 <manuel.bachmann@open.eurogiciel.org>
src/Application/JSApplicationManager.cpp

index 943c343..4f2885a 100644 (file)
@@ -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)