Unverified Commit 4be0cfcb authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[framework] add ignores for platformDispatcher deprecation (#113238)

parent 492bfddd
......@@ -3118,6 +3118,8 @@ class SemanticsOwner extends ChangeNotifier {
final CustomSemanticsAction action = CustomSemanticsAction.getAction(actionId)!;
builder.updateCustomAction(id: actionId, label: action.label, hint: action.hint, overrideId: action.action?.index ?? -1);
}
// TODO(a-wallen): https://github.com/flutter/flutter/issues/112221
// ignore: deprecated_member_use
SemanticsBinding.instance.platformDispatcher.updateSemantics(builder.build());
notifyListeners();
}
......
......@@ -853,6 +853,8 @@ class TestPlatformDispatcher implements ui.PlatformDispatcher {
@override
void updateSemantics(ui.SemanticsUpdate update) {
// TODO(a-wallen): https://github.com/flutter/flutter/issues/112221
// ignore: deprecated_member_use
_platformDispatcher.updateSemantics(update);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment