mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Remove associated task views if task is removed while Overview is showing
Bug: 78660939 Change-Id: Iccfb09c985662c150f42d382b92d17f853abaaea
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user