N_SE-36938 : skip touchCancel in case of touch moved and changing target
authorminkyu kim <imetjade.kim@samsung.com>
Mon, 3 Jun 2013 07:01:23 +0000 (16:01 +0900)
committerminkyu kim <imetjade.kim@samsung.com>
Mon, 3 Jun 2013 07:01:23 +0000 (16:01 +0900)
Change-Id: Ia4409a87399ed2a35aac7c2636b0c9faaa807cea

src/ui/FUi_EflUiEventManager.cpp

index 4255938..629ef37 100644 (file)
@@ -602,6 +602,12 @@ private:
                _Control* pTarget = __pTouchEventManager->GetControl(__touchInfo.GetPointId());
                if (pTarget == null)
                {
+                       if (__touchInfo.GetTouchStatus() == _TOUCH_MOVED)
+                       {
+                               SysLog(NID_UI, "Target is null for the move event, skip sendImpl");
+                               return E_SUCCESS;
+                       }
+
                        _TouchManager* pTouchManager = _TouchManager::GetInstance();
                        pTouchManager->SetTouchCanceled(null);
                        pTouchManager->ResetTouchInfo();