Merge \"Ensuring we don\'t try and dismiss task views that are already removed.\" into nyc-dev
am: c169a9d8a1
Change-Id: I16e8679a30285ca9c1472022348861b759e1aed7
This commit is contained in:
@@ -209,7 +209,9 @@ public class RecentsTransitionHelper {
|
||||
EventBus.getDefault().send(new LaunchTaskSucceededEvent(taskIndexFromFront));
|
||||
} else {
|
||||
// Dismiss the task if we fail to launch it
|
||||
taskView.dismissTask();
|
||||
if (taskView != null) {
|
||||
taskView.dismissTask();
|
||||
}
|
||||
|
||||
// Keep track of failed launches
|
||||
EventBus.getDefault().send(new LaunchTaskFailedEvent());
|
||||
|
||||
Reference in New Issue
Block a user