Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02393204 authored by Zak Cohen's avatar Zak Cohen Committed by Android (Google) Code Review
Browse files

Merge "Return empty, not null, a11y node in Workspace" into sc-dev

parents ddbc7bf0 f19300e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1455,7 +1455,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
            // TAPL can work only if UIDevice is set up as setCompressedLayoutHeirarchy(false).
            // Hiding workspace from the tests when it's
            // IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS.
            return null;
            return AccessibilityNodeInfo.obtain();
        }
        return super.createAccessibilityNodeInfo();
    }