Summary: | Media Session: handle 'Transient' and 'Transient Solo' interruption events | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||||||
Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | conrad_shultz, eric.carlson, jer.noble, mrajca, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 145411 | ||||||||||
Attachments: |
|
Description
Matt Rajca
2015-07-10 10:45:42 PDT
Created attachment 256591 [details]
Patch
Created attachment 256609 [details]
Patch
Created attachment 256922 [details]
Patch
Comment on attachment 256922 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256922&action=review > Source/WebCore/Modules/mediasession/MediaSession.cpp:252 > + m_currentState = State::Interrupted; Shouldn't this be "Active"? > Source/WebCore/Modules/mediasession/MediaSession.cpp:257 > + m_currentState = State::Active; Shouldn't this be "Interrupted"? (In reply to comment #5) > Comment on attachment 256922 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=256922&action=review > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:252 > > + m_currentState = State::Interrupted; > > Shouldn't this be "Active"? > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:257 > > + m_currentState = State::Active; > > Shouldn't this be "Interrupted"? Yes, for both. These got mixed up when I was moving things around. Committed r186918: <http://trac.webkit.org/changeset/186918> |