You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
View: always call dispatchTouchEvent() if overwritten
This commit is contained in:
@@ -1066,8 +1066,6 @@ public class View implements Drawable.Callback {
|
||||
boolean handled = false;
|
||||
if (on_touch_listener != null)
|
||||
handled = on_touch_listener.onTouch(this, event);
|
||||
if (!handled)
|
||||
handled = dispatchTouchEvent(event);
|
||||
return handled;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user