tizen-device: Change logic inside of _set_active_profile() 09/93609/1
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 25 Oct 2016 04:09:50 +0000 (13:09 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 25 Oct 2016 05:31:23 +0000 (14:31 +0900)
commit140e95a061729a8b9c4bcc31bf717c3d10bc835c
tree49cc276aa0f18e49473c787d7f4ac874a430261d
parent49053505d591e361aba30510e13a536ea1bf1442
tizen-device: Change logic inside of _set_active_profile()

Previously, the callback for notifying active profile changed is called even if the third argument
of _set_active_profile() is false. In case of SCO open()/close() via device-manager API,
the callback get triggered in stream-manager and should be considiered with additional logic.
With this patch, the previous commit does not need anymore.
Fix build warning of stream-manager.c.

[Version] 5.0.87
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I579fda5edbb0530b5439b7938c52d8d93ff1c565
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/stream-manager.c
src/tizen-device.c