[iOS] WebContent process can be interrupted during suspension; loses "Now Playing" status
<rdar://problem/55952707>
Created attachment 380139 [details] Patch
Created attachment 380141 [details] Patch
Comment on attachment 380139 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380139&action=review > Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:200 > +#if USE(AUDIO_SESSION) > + if (!anyOfSessions([] (auto& session) { return session.state() == PlatformMediaSession::Playing; })) > + maybeDeactivateAudioSession(); > +#endif As we discussed, this should only happen when we're in the background
Created attachment 380143 [details] Patch
Created attachment 380160 [details] Patch for landing
Comment on attachment 380160 [details] Patch for landing Clearing flags on attachment: 380160 Committed r250694: <https://trac.webkit.org/changeset/250694>
All reviewed patches have been landed. Closing bug.