[Tizen] Remove the legacy code related to QuickPanelChanged 76/288876/2 accepted/tizen/6.0/unified/20230224.235421 submit/tizen_6.0/20230224.051748
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 24 Feb 2023 03:50:55 +0000 (12:50 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 24 Feb 2023 04:59:37 +0000 (13:59 +0900)
- Remove to check the conditional of AllApps shown
- Currently, all dali apps are controlled by OnFocusChanged

Change-Id: If909ed587d1b73a65289c710049128cdaa8716b2
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/window-system/common/event-handler.cpp

index 3851c1c90ef0b077092e3c3f0159854fee462eb8..cb1c7d1b07ec48090b050dc8d54f5b4c83cafad4 100755 (executable)
@@ -621,26 +621,12 @@ void EventHandler::OnAccessibilityQuickpanelChanged( const unsigned char& info )
     return;
   }
 
-  if( ( ( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) && ( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) ) || // Both QuickPanel and Apps are shown
-      ( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) ) // QuickPanel is shown
+  if( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) // QuickPanel is shown
   {
     // dali apps should be disabled.
     DALI_LOG_ERROR("[FYI] Quickpanel show -> DisableAccessibility \n");
     accessibilityAdaptor->DisableAccessibility();
   }
-  else if( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) // Only Apps menu (dali application) is shown
-  {
-    if( !accessibilityAdaptor->IsForcedEnable() ) // It is not in case of that an application controls the accessibility status itself
-    {
-      DALI_LOG_ERROR("[FYI] Only Apps show, but not forced dali -> DisableAccessibility \n");
-      accessibilityAdaptor->DisableAccessibility();
-    }
-    else
-    {
-      DALI_LOG_ERROR("[FYI] Only Apps show and it is a forced dali -> (Apps) EnableAccessibility \n");
-      accessibilityAdaptor->EnableAccessibility();
-    }
-  }
 
 #endif
 }