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

This commit is contained in:
Zak Cohen authored and Android (Google) Code Review committed 2021-03-19 16:56:02 +00:00
commit 02393204e6
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}