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

Commit 0f8d2802 authored by Sergey Pinkevich's avatar Sergey Pinkevich Committed by Android (Google) Code Review
Browse files

Merge "Java crash on RecentsView.isTaskViewVisible method" into main

parents b88ba192 c7dcb95b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -667,8 +667,10 @@ public class SplitSelectStateController {

            MAIN_EXECUTOR.execute(() -> {
                // Only animate from taskView if it's already visible
                boolean shouldLaunchFromTaskView = mLaunchingTaskView != null &&
                        mLaunchingTaskView.getRecentsView().isTaskViewVisible(mLaunchingTaskView);
                boolean shouldLaunchFromTaskView = mLaunchingTaskView != null
                        && mLaunchingTaskView.getRecentsView() != null
                        && mLaunchingTaskView.getRecentsView().isTaskViewVisible(
                        mLaunchingTaskView);
                mSplitAnimationController.playSplitLaunchAnimation(
                        shouldLaunchFromTaskView ? mLaunchingTaskView : null,
                        mLaunchingIconView,