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

Commit 18ac5c32 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix runaway scroll capture" into sc-dev

parents c076189d afc967da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ public class ScrollCaptureController implements OnComputeInternalInsetsListener
                && result.captured.height() < result.requested.height();
        boolean finish = false;

        if (partialResult) {
        if (partialResult || emptyResult) {
            // Potentially reached a vertical boundary. Extend in the other direction.
            switch (mDirection) {
                case DOWN: