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

Commit 5c229885 authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Don't crash when swiping up if there are no TaskViews" into ub-launcher3-qt-qpr1-dev

parents 32c8664f 60bf8c11
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -381,6 +381,10 @@ public final class LauncherActivityControllerHelper implements ActivityControlHe
            TaskView runningTaskView = recentsView.getRunningTaskView();
            if (runningTaskView == null) {
                runningTaskView = recentsView.getTaskViewAt(recentsView.getCurrentPage());
                if (runningTaskView == null) {
                    // There are no task views in LockTask mode when Overview is enabled.
                    return;
                }
            }
            TimeInterpolator oldInterpolator = translateY.getInterpolator();
            Rect fallbackInsets = launcher.getDeviceProfile().getInsets();