Problem: While Music is playing in Web application,
Launch the browser and play some videos in
web site like Youtube and Naver.
The Webapp's player keeps playing and
Browser's player is also playing.
DA product feature has deleted this condition for
DA sound focus policy.on AcquireSoundFocus and ReleaseSoundFocus
function, some conditions exist for validation.
Among these conditions, GetSoundMode function for checking sound,
mode API is not supported in DA feature.
So delete this condition in DA feature.
Ref: https://review.tizen.org/gerrit/#/c/244421/
Change-Id: I685ec72868747cb9a3201e6a21dd321da85d5204
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
}
void SoundFocusManager::ReleaseSoundFocus() {
+#if defined(OS_TIZEN_DA_PRODUCT)
+ if (!stream_info_ || !IsWebMediaAcquiredFocus())
+#else
if (!stream_info_ || (GetSoundMode() == false) || !IsWebMediaAcquiredFocus())
+#endif
return;
int error =