[M108 Migration] Enable ATK_STATE_SHOWING for TV platform 29/288429/3
authorBakka Uday Kiran <b.kiran@samsung.com>
Thu, 16 Feb 2023 08:10:27 +0000 (13:40 +0530)
committerBakka Uday Kiran <b.kiran@samsung.com>
Fri, 17 Feb 2023 05:49:23 +0000 (11:19 +0530)
Below change enables setting ATK_STATE_SHOWING state for accessibility
nodes on TV platform.

Reference: https://review.tizen.org/gerrit/c/283258

Change-Id: I6fb7ec1d4a28d5b3f65bdcda937691f5af24f8d9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ui/accessibility/platform/ax_platform_node_auralinux.cc

index b02ca80..fedd0c1 100644 (file)
@@ -3244,7 +3244,7 @@ void AXPlatformNodeAuraLinux::GetAtkState(AtkStateSet* atk_state_set) {
     atk_state_set_add_state(atk_state_set, ATK_STATE_HORIZONTAL);
   if (!IsInvisibleOrIgnored()) {
     atk_state_set_add_state(atk_state_set, ATK_STATE_VISIBLE);
-#if !defined(TIZEN_ATK_SUPPORT)
+#if BUILDFLAG(IS_TIZEN_TV)
     if (!delegate_->IsOffscreen() && !is_minimized)
       atk_state_set_add_state(atk_state_set, ATK_STATE_SHOWING);
 #endif