Fix for launching problem.
authorTaejeong Lee <taejeong.lee@samsung.com>
Fri, 2 Nov 2012 02:06:22 +0000 (11:06 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Fri, 2 Nov 2012 07:15:59 +0000 (16:15 +0900)
 * 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

src/view/webkit/view_logic.cpp

index a18cc17..0155822 100644 (file)
@@ -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<const long*>(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<ViewLogic*>(data);
-    This->m_vibrationSupport->stopVibration();
+
+    // temp
+    // This->m_vibrationSupport->stopVibration();
+
     return;
 }