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

Commit 25ee31cc authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge \"Merge \\\"Ensuring we don\\\'t try and dismiss task views that are...

Merge \"Merge \\\"Ensuring we don\\\'t try and dismiss task views that are already removed.\\\" into nyc-dev am: c169a9d8 am: 7fa2ad47\" into nyc-mr1-dev-plus-aosp
am: c54b7766

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


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