mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1357633 - part1 : request audio focus again when resume media from page. r=baku
Should also update audio playing changed after resumed from page. MozReview-Commit-ID: 66vuJJFeWN3 --HG-- extra : rebase_source : 06802b2e49f5e712a1d9fd34d4ae017995faaa75
This commit is contained in:
parent
0c6fcd0d50
commit
acab9ac022
@ -682,6 +682,8 @@ public:
|
||||
MOZ_ASSERT(!mIsShutDown);
|
||||
if (ShouldResetSuspend()) {
|
||||
SetSuspended(nsISuspendedTypes::NONE_SUSPENDED);
|
||||
NotifyAudioPlaybackChanged(
|
||||
AudioChannelService::AudibleChangedReasons::ePauseStateChanged);
|
||||
}
|
||||
UpdateAudioChannelPlayingState();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user