Delegate TestWindow.updateSemantics to the wrapped SingletonFlutterWindow (#114733)

This restores the updateSemantics capability in TestWindow that had been
removed in https://github.com/flutter/flutter/pull/113382
This commit is contained in:
Jason Simmons 2022-11-07 09:27:50 -08:00 committed by GitHub
parent 7de60bbce8
commit 496cf627e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);