Merge "Adapt to the new API of `ShadowCaptioningManager`." into main