Enhance session backward compatibility 78/120178/3
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 22 Mar 2017 04:17:40 +0000 (13:17 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 23 Mar 2017 05:08:06 +0000 (14:08 +0900)
commit084d177de4bdbea37388002aa3961b7efc146173
tree21aec23307f64d0ca4411747a090529b1e1c54fc
parentdb6a80d19252a7c095859a3ab4fbce0e72cb7cf6
Enhance session backward compatibility

In case of audio-io, mm-player, mm-camcorder, it provides interrupted_cb API to inform session resumption
to an application. Even if this callback function notifies resumption situation, the application can determine
whether resume previous stream or not in this callback. This patch is to make that when invoking focus state
changed callback for acquiring, the state of the node managed in focus server will not be updated rather
updated when the next request to acquire focus is coming from the application side.

[Version] 0.10.104
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: I9d99ade37c07903cae235b0c2960dbd498306622
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
focus_server/include/mm_sound_mgr_focus.h
focus_server/mm_sound_mgr_focus.c
packaging/libmm-sound.spec