Merge "Remove associated task views if task is removed while Overview is showing" into ub-launcher3-edmonton
This commit is contained in:
commit
954157a228
|
@ -144,6 +144,14 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
|
|||
// TODO: Re-enable layout transitions for addition of the unpinned task
|
||||
reloadIfNeeded();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onTaskRemoved(int taskId) {
|
||||
TaskView taskView = getTaskView(taskId);
|
||||
if (taskView != null) {
|
||||
dismissTask(taskView, true /* animate */, false /* removeTask */);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private int mLoadPlanId = -1;
|
||||
|
|
Loading…
Reference in New Issue