Merge "Introduce `hasTaskViews()` to RecentsView" into main