Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9edd58e9 authored by Michael Jurka's avatar Michael Jurka
Browse files

HorizontalScrollView should delay child presses

In Recents in landscape, we were seeing blue flashes when scrolling; generally, almost every scrolling container should be delaying child presses to prevent this problem
parent c4f09e03
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -696,6 +696,11 @@ public class HorizontalScrollView extends FrameLayout {
        return super.onGenericMotionEvent(event);
    }

    @Override
    public boolean shouldDelayChildPressedState() {
        return true;
    }

    @Override
    protected void onOverScrolled(int scrollX, int scrollY,
            boolean clampedX, boolean clampedY) {