Skip to content

Add a null check for embedded view being added to accessibility tree#180539

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
gmackall:proper_null_check_for_embeddedview
Jan 5, 2026
Merged

Add a null check for embedded view being added to accessibility tree#180539
auto-submit[bot] merged 2 commits into
flutter:masterfrom
gmackall:proper_null_check_for_embeddedview

Conversation

@gmackall

@gmackall gmackall commented Jan 5, 2026

Copy link
Copy Markdown
Member

Fixes
#180381
#179922

which track a regression from #168939

Wraps in a null check, and if the embeddedView is null we fall back to adding the semantics node we are looking at in the loop as a child.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions Bot added platform-android Android applications specifically engine flutter/engine related. See also e: labels. team-android Owned by Android platform team labels Jan 5, 2026
@gmackall
gmackall marked this pull request as ready for review January 5, 2026 20:51
@gmackall
gmackall requested a review from a team as a code owner January 5, 2026 20:51
@gmackall

gmackall commented Jan 5, 2026

Copy link
Copy Markdown
Member Author

We should probably also consider cherry picking this

@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 5, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Jan 5, 2026
Merged via the queue into flutter:master with commit 884c9b4 Jan 5, 2026
178 of 179 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 5, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
@gmackall gmackall added cp: beta cherry pick this pull request to beta release candidate branch cp: stable cherry pick this pull request to stable release candidate branch labels Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 6, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cp: beta cherry pick this pull request to beta release candidate branch cp: stable cherry pick this pull request to stable release candidate branch engine flutter/engine related. See also e: labels. platform-android Android applications specifically team-android Owned by Android platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants