Add condition to skip invoking focus callback in case of unregistering without releas... 51/119751/1
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 20 Mar 2017 04:09:15 +0000 (13:09 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 20 Mar 2017 04:33:17 +0000 (13:33 +0900)
commit28e72949a54d24017a406440bd3f50b4d7a15ede
tree4c64d95fd5d7cab7b0d4fc7df2326e5cb9197f0e
parent53eb66817c8f8bc6e4c9467b9db36f4b3b9c7dab
Add condition to skip invoking focus callback in case of unregistering without releasing focus

For session backward compatibility, there can be serveral nodes that have focus in the same process.
Check focus status of other node that has same pid as the focus node's that requested to unregister
to skip invoking focus callback if a node with acquired status exists.

[Version] 0.10.102
[Profile] Common
[Issue Type] Bug fix

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