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

Commit c169a9d8 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

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

parents 51487f06 1d581bcb
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());