Change-Id: Icb165c72a5ad75b947f7148f1ea61bc5e3174cc8
void
_Control::LockInputEvent(void)
{
- _TouchManager* pTouchManager = _TouchManager::GetInstance();
- SysTryReturnVoidResult(NID_UI, pTouchManager != null, E_SYSTEM, "[E_SYSTEM] TouchManager Instance is null");
-
- pTouchManager->SetTouchReleased();
- ClearLastResult();
-
__inputLockRefCount++;
}
SysLog(NID_UI, "The initial value of device orientation is %d.", degree);
__pInstance->__screenRotation = ::Convert(degree);
+
+ elm_init(0, null);
}
void
delete __pInstance;
__pInstance = null;
+
+ elm_shutdown();
}
_ControlManager*
IEnumeratorT<_TouchGestureDetector*>* pEnumerator = __pGestureList->GetEnumeratorN();
SysTryReturnVoidResult(NID_UI, pEnumerator, E_SYSTEM, "[E_SYSTEM] System error occurred.")
- elm_init(0, null);
int duration = static_cast<int>(elm_config_longpress_timeout_get());
- elm_shutdown();
-
if (duration == 0)
{
duration = 500;
__pLongPressInfoList = new (std::nothrow) ArrayListT<_LongPressInfo*>;
SysTryReturnVoidResult(NID_UI, __pLongPressInfoList, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
- elm_init(0, null);
int __duration = static_cast<int>(elm_config_longpress_timeout_get());
- elm_shutdown();
-
if (__duration == 0)
{
__duration = 500;