mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
allowChannelBufferOverflow to `setWarnsOnChannelOv… (flutter/engine#46361)
## Description
This PR is a follow-up to https://github.com/flutter/engine/pull/44434 which introduces the `allowChannelBufferOverflow` function. It renames this function to `setWarnsOnChannelOverflow`.
The previous naming was inspired by the framework side implementation.
c00c022036/lib/ui/channel_buffers.dart (L574)
During the review of the iOS/macOS implementation, https://github.com/flutter/engine/pull/44848#discussion_r1310463864, we agreed that the existing naming is confusing because it implies that overflow will be allowed, but this not the case this function is used to enable/disable error messages when a channel overflows.
## Related Issue
Follow-up for https://github.com/flutter/flutter/issues/132386.
## Tests
Updates 1 test.
Description
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
androidapp-frameworkcross-platformdartdart-platformdesktopflutterflutter-packagefuchsiaioslinux-desktopmacosmaterial-designmobilemobile-developmentskiawebweb-frameworkwindows
2.5 GiB
Languages
Dart
75%
C++
16.5%
Objective-C++
2.9%
Java
2.8%
Objective-C
0.7%
Other
1.9%