From 0aa761b53006cc12cbfb1e5303cae49ba2656037 Mon Sep 17 00:00:00 2001 From: Bakka Uday Kiran Date: Thu, 16 Feb 2023 13:40:27 +0530 Subject: [PATCH] [M108 Migration] Enable ATK_STATE_SHOWING for TV platform 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 --- ui/accessibility/platform/ax_platform_node_auralinux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc index b02ca80..fedd0c1 100644 --- a/ui/accessibility/platform/ax_platform_node_auralinux.cc +++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc @@ -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 -- 2.7.4