[Version] 0.4.21
[Issue Type] Enhancement
Change-Id: Ic399e2849a2467b0c933d01491f02cdf3af4ca0e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: capi-media-sound-manager
Summary: Sound Manager library
-Version: 0.4.20
+Version: 0.4.21
Release: 0
Group: Multimedia/API
License: Apache-2.0
goto LEAVE;
}
- if (is_focus_cb_thread && ((stream_h->prev_acquired_focus | ~stream_h->acquired_focus) & SOUND_STREAM_FOCUS_FOR_BOTH) != focus_mask) {
+ if (is_focus_cb_thread && ((stream_h->prev_acquired_focus & ~stream_h->acquired_focus) & focus_mask)) {
LOGE("just lost focus in this callback, it is not allowed to acquire the focus[0x%x] again. acquired_focus[0x%x], prev[0x%x]",
focus_mask, stream_h->acquired_focus, stream_h->prev_acquired_focus);
ret = MM_ERROR_POLICY_INTERNAL;