Unverified Commit fd01812f authored by LouiseHsu's avatar LouiseHsu Committed by GitHub

Add temporary default case to support new PointerSignalKind (#120731)

* add default case to prep for engine pr

* combine unknown w default

* fixed todo comment not inline with flutter standards
parent 5a3957f3
......@@ -278,6 +278,8 @@ class PointerEventConverter {
scale: datum.scale,
);
case ui.PointerSignalKind.unknown:
default: // ignore: no_default_cases, to allow adding a new [PointerSignalKind] - PointerStylusAuxiliaryAction
// TODO(louisehsu): remove after landing engine PR https://github.com/flutter/engine/pull/39637
// This branch should already have 'unknown' filtered out, but
// we don't want to return anything or miss if someone adds a new
// enumeration to PointerSignalKind.
......
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