From: Taejeong Lee Date: Fri, 2 Nov 2012 02:06:22 +0000 (+0900) Subject: Fix for launching problem. X-Git-Tag: 2.1b_release~22^2~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88d6556306b3a26491c102fe712d6ea8fbf418c0;p=platform%2Fframework%2Fweb%2Fwrt.git Fix for launching problem. * It cause by haptic library. [Issue#] N/A [Problem] Fix for launching problem. [Cause] N/A [Solution] the code using haptic library wad removed temporarily. [SCMRequest] N/A Change-Id: I15c50e262fa809f00197366fb3bf315fcae0d9cc --- diff --git a/src/view/webkit/view_logic.cpp b/src/view/webkit/view_logic.cpp index a18cc17..0155822 100644 --- a/src/view/webkit/view_logic.cpp +++ b/src/view/webkit/view_logic.cpp @@ -116,7 +116,7 @@ ViewLogic::ViewLogic(): m_model(0), m_cbs(new WRT::UserDelegates), m_appsSupport(new ViewModule::AppsSupport()), - m_vibrationSupport(new ViewModule::VibrationSupport()) + m_vibrationSupport(NULL) { } @@ -211,7 +211,10 @@ void ViewLogic::hideWidget() RoamingAgentSingleton::Instance().unsetDisconnectCallback(); ViewModule::StorageSupport::deinitializeStorage(m_model); m_appsSupport->deinitialize(); - m_vibrationSupport->deinitialize(); + + // temp + // m_vibrationSupport->deinitialize(); + // almost terminate time spends for terminate webkit. // after block this evas_object_del code, webkit will be destoryed // with parent evas_object(~WindowData()) @@ -459,7 +462,10 @@ void ViewLogic::initializeSupport() m_schemeSupport.reset(new SchemeSupport(m_model->Type.Get().appType)); ViewModule::StorageSupport::initializeStorage(m_model); m_appsSupport->initialize(m_model); - m_vibrationSupport->initialize(); + + // temp + // m_vibrationSupport->initialize(); + ViewModule::GeolocationSupport::Webkit2::initialize(m_model->TizenId.Get()); ViewModule::GeolocationSupport::Webkit2:: adjustGeolocationModuleState(m_currentEwkView); @@ -1384,7 +1390,10 @@ void ViewLogic::vibrationVibrateCallback( Assert(eventInfo); const long vibrationTime = *(static_cast(eventInfo)); - This->m_vibrationSupport->startVibration(vibrationTime); + + // temp + // This->m_vibrationSupport->startVibration(vibrationTime); + return; } @@ -1396,7 +1405,10 @@ void ViewLogic::vibrationCancelCallback( LogDebug("vibrationCancelCallback called"); Assert(data); ViewLogic* This = static_cast(data); - This->m_vibrationSupport->stopVibration(); + + // temp + // This->m_vibrationSupport->stopVibration(); + return; }