forked from firka/flutter
f732952384bb178e3283603261980df8068eb324
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
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%