Skip to content

Conversation

@copybara-service
Copy link

Disable AccessibililityNodeInfo shadow APIs for direct connections

With this change, when a call to
AccessibililityNodeInfo.setQueryFromAppProcessEnabled is made, all subsequent
calls to AccessibililityNodeInfo will use real Android framework code, and
shadow APIs will be disabled. This ensures that real Accessibility node trees
will be used after setQueryFromAppProcessEnabled.

With this change, when a call to
AccessibililityNodeInfo.setQueryFromAppProcessEnabled is made, all subsequent
calls to AccessibililityNodeInfo will use real Android framework code, and
shadow APIs will be disabled. This ensures that real Accessibility node trees
will be used after setQueryFromAppProcessEnabled.

PiperOrigin-RevId: 694490879
@copybara-service copybara-service bot merged commit 55e4a09 into google Nov 8, 2024
@copybara-service copybara-service bot deleted the piper_694329567 branch November 8, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant