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
This commit is contained in:
@@ -682,6 +682,8 @@ public:
|
||||
MOZ_ASSERT(!mIsShutDown);
|
||||
if (ShouldResetSuspend()) {
|
||||
SetSuspended(nsISuspendedTypes::NONE_SUSPENDED);
|
||||
NotifyAudioPlaybackChanged(
|
||||
AudioChannelService::AudibleChangedReasons::ePauseStateChanged);
|
||||
}
|
||||
UpdateAudioChannelPlayingState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user