Check for hover motion events in AndroidTouchProcessor (flutter/engine#8376)
Fixes https://github.com/flutter/flutter/issues/30122
This commit is contained in:
@@ -277,6 +277,9 @@ public class AndroidTouchProcessor {
|
||||
if (maskedAction == MotionEvent.ACTION_MOVE) {
|
||||
return PointerChange.MOVE;
|
||||
}
|
||||
if (maskedAction == MotionEvent.ACTION_HOVER_MOVE) {
|
||||
return PointerChange.HOVER;
|
||||
}
|
||||
if (maskedAction == MotionEvent.ACTION_CANCEL) {
|
||||
return PointerChange.CANCEL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user