Always clean up taskview
When creating a TaskViewTaskController, it registers itself in TaskViewTransitions in the constructor. This means, even if the task is not initialized, we still need to clean up the TaskViewTaskController. Ignoring that task id is not present and always calling the removeTask method in BubbleTaskView. Updating TaskViewTaskController removeTask method to always remove the class from TaskViewTransitions. Even if the task itself is not initialized. Bug: 369995920 Flag: com.android.wm.shell.enable_task_view_controller_cleanup Test: atest BubbleTaskViewTest Change-Id: Ie4766452c30a497a7a447c7473a85be1ddc45b0e
Loading
Please register or sign in to comment