MediaSessionManager::hasActive should not return true for a session in the Paused state, we should only activate the AudioSession for Playing sessions.
<rdar://problem/17188368>
Created attachment 235200 [details] Proposed patch
With no regression test, we’re a little vulnerable here. Might be nice to have a brief comment explaining why this function does exactly what it does.
(In reply to comment #3) > With no regression test, we’re a little vulnerable here. Might be nice to have a brief comment explaining why this function does exactly what it does. Good point. I renamed MediaSessionManager::hasActive to "activeAudioSessionRequired" to make obvious what the method does.
Committed r171299 - https://trac.webkit.org/r171299