Merge "Hide both pausing and closing tasks when finishing the recents transition" into main