Skip to content

Commit

Permalink
Delegate TestWindow.updateSemantics to the wrapped SingletonFlutterWi…
Browse files Browse the repository at this point in the history
…ndow (flutter#114733)

This restores the updateSemantics capability in TestWindow that had been
removed in flutter#113382
  • Loading branch information
jason-simmons authored and gspencergoog committed Jan 19, 2023
1 parent 5073d60 commit 9a89b11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/flutter_test/lib/src/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ class TestWindow implements ui.SingletonFlutterWindow {
platformDispatcher.onAccessibilityFeaturesChanged = callback;
}

@override
void updateSemantics(ui.SemanticsUpdate update) {
_window.updateSemantics(update);
}

@override
void setIsolateDebugName(String name) {
platformDispatcher.setIsolateDebugName(name);
Expand Down

0 comments on commit 9a89b11

Please sign in to comment.