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

Commit 48fe925e authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Merge \"Ensuring we don\'t try and dismiss task views that are already removed.\" into nyc-dev

am: c169a9d8

Change-Id: I16e8679a30285ca9c1472022348861b759e1aed7
parents 14e49b24 c169a9d8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -209,7 +209,9 @@ public class RecentsTransitionHelper {
            EventBus.getDefault().send(new LaunchTaskSucceededEvent(taskIndexFromFront));
        } else {
            // Dismiss the task if we fail to launch it
            if (taskView != null) {
                taskView.dismissTask();
            }

            // Keep track of failed launches
            EventBus.getDefault().send(new LaunchTaskFailedEvent());