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

Commit c7dcb95b authored by Sergey Pinkevich's avatar Sergey Pinkevich
Browse files

Java crash on RecentsView.isTaskViewVisible method

Bug: 316567614
Flag: NONE
Test: manual

Change-Id: I8e7a47a06a94ce0d9eb5921020cb19097873e8c4
parent 78611ea4
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,