mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 1583572 - Return correct result when queueing touch events r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46963 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
00b4395dc0
commit
249035a7a2
@ -151,7 +151,7 @@ public class PanZoomController {
|
||||
private @InputResult int handleMotionEvent(final MotionEvent event) {
|
||||
if (!mAttached) {
|
||||
mQueuedEvents.add(new Pair<>(EVENT_SOURCE_MOTION, event));
|
||||
return INPUT_RESULT_UNHANDLED;
|
||||
return INPUT_RESULT_HANDLED;
|
||||
}
|
||||
|
||||
final int action = event.getActionMasked();
|
||||
@ -206,7 +206,7 @@ public class PanZoomController {
|
||||
private @InputResult int handleScrollEvent(final MotionEvent event) {
|
||||
if (!mAttached) {
|
||||
mQueuedEvents.add(new Pair<>(EVENT_SOURCE_SCROLL, event));
|
||||
return INPUT_RESULT_UNHANDLED;
|
||||
return INPUT_RESULT_HANDLED;
|
||||
}
|
||||
|
||||
final int count = event.getPointerCount();
|
||||
|
Loading…
Reference in New Issue
Block a user