Unverified Commit cbff7ca4 authored by Amir Hardon's avatar Amir Hardon Committed by GitHub

Cleanup temporary catchError. (#26454)

This was added to make sure we don't crash before the engine is rolled
with the system channel API addition and is no longer needed.
parent 3f3a829c
......@@ -412,17 +412,7 @@ class _UiKitViewGestureRecognizer extends OneSequenceGestureRecognizer {
@override
void rejectGesture(int pointer) {
controller.rejectGesture().catchError((dynamic e) {
if (e is MissingPluginException) {
// We land the framework part of active gesture rejection before the engine part.
// There will be some commit range where we call rejectGesture from the framework and it
// isn't implemented in the engine, if that is the case we swallow the MissingPluginException.
// Once the engine support lands we will remove the enclosing catchError call.
// TODO(amirh): remove this once the engine supports active gesture rejection.
return;
}
throw e;
});
controller.rejectGesture();
}
void reset() {
......
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