From da4f91ce8cbde8c5fb36322e136e1dffdb231aec Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Thu, 21 Oct 2021 18:53:21 +0900 Subject: [PATCH] [Tizen] Add missing exceptions regarding Accessibility - Some apps can control Accessibility enability using API forcibly. In this case, the apps should be handled by themselves. - Added an exceptional case in OnAccessibilityNotification. Change-Id: I5d5511cf8109bcfa4f5aa5a8c6801f8053f9dac6 Signed-off-by: Seoyeon Kim --- dali/internal/window-system/common/event-handler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dali/internal/window-system/common/event-handler.cpp b/dali/internal/window-system/common/event-handler.cpp index 5ae362c..e53af77 100755 --- a/dali/internal/window-system/common/event-handler.cpp +++ b/dali/internal/window-system/common/event-handler.cpp @@ -283,6 +283,13 @@ void EventHandler::OnAccessibilityNotification( const WindowBase::AccessibilityI return; } + if( !(info.quickpanelInfo & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) && accessibilityAdaptor->IsForcedEnable() ) + { + // When other apps, which are not implemented by DALi, are on top of Apps application, + // no event should be occurred on Apps because it's disabled by force already. + return; + } + // When gesture is ONE_FINGER_SINGLE_TAP, the gesture value is 15. // When the state is aborted, the state of accessibility info is 3. if( info.gestureValue == 15 && info.state == 3 ) -- 2.7.4