From 204acece7304062ee060f7d1f7ca0f6fd868021c Mon Sep 17 00:00:00 2001 From: Bumseung Cho Date: Tue, 30 Apr 2013 17:34:08 +0900 Subject: [PATCH] OnAccessibilityActionPerformed will be called even OperationGesture flage is false Change-Id: I95a73cf3180a82c5e760fe41d762851e7a29679a Signed-off-by: Bumseung Cho --- src/ui/FUi_AccessibilityManager.cpp | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/ui/FUi_AccessibilityManager.cpp b/src/ui/FUi_AccessibilityManager.cpp index fde5f2d..d1d67fa 100644 --- a/src/ui/FUi_AccessibilityManager.cpp +++ b/src/ui/FUi_AccessibilityManager.cpp @@ -1975,22 +1975,21 @@ _AccessibilityManager::ProcessGesture(_AccessibilityGestureType type, const Floa { return false; } - - LinkedListT<_IAccessibilityListener*>* pList = static_cast*>(__pTargetContainer->GetListenerListN()); - if (pList != null) + } + LinkedListT<_IAccessibilityListener*>* pList = static_cast*>(__pTargetContainer->GetListenerListN()); + if (pList != null) + { + int count = pList->GetCount(); + SysLog(NID_UI, "Accessibility manager called listeners. count : %d", count); + for (int i = 0;iGetCount(); - SysLog(NID_UI, "Accessibility manager called listeners. count : %d", count); - for (int i = 0;iGetAt(i, pListener) == E_SUCCESS) { - _IAccessibilityListener* pListener = null; - if (pList->GetAt(i, pListener) == E_SUCCESS) - { - pListener->OnAccessibilityActionPerformed(*__pTargetContainer, *__pTargetElement); - } + pListener->OnAccessibilityActionPerformed(*__pTargetContainer, *__pTargetElement); } - delete pList; } + delete pList; } } break; -- 2.7.4