Change condition check handle_id to pid 24/105924/1
authorhowon kim <howon.kim@samsung.com>
Tue, 20 Dec 2016 05:02:20 +0000 (14:02 +0900)
committerhowon kim <howon.kim@samsung.com>
Tue, 20 Dec 2016 05:02:36 +0000 (14:02 +0900)
[Version] 0.10.73
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I225abce2d2d2f442efed69d6c3cbbb3558f6c691
Signed-off-by: howon kim <howon.kim@samsung.com>
focus_server/mm_sound_mgr_focus.c
packaging/libmm-sound.spec

index 0b4d6e9..650e7c3 100644 (file)
@@ -779,7 +779,7 @@ int mm_sound_mgr_focus_set_reacquisition(const _mm_sound_mgr_focus_param_t *para
                        for (i = 0; i < NUM_OF_STREAM_IO_TYPE; i++) {
                                if (node && (node->taken_by_id[i].pid == param->pid)) {
                                        /* victim node : append my node's taken info to my victim node */
-                                       if (my_node->taken_by_id[i].handle_id != 0) {
+                                       if (my_node->taken_by_id[i].pid != 0) {
                                                UPDATE_FOCUS_TAKEN_INFO(backup, node, node->taken_by_id[i].pid, node->taken_by_id[i].handle_id, node->taken_by_id[i].by_session);
                                                UPDATE_FOCUS_TAKEN_INFO(by_id, node, my_node->taken_by_id[i].pid, my_node->taken_by_id[i].handle_id, my_node->taken_by_id[i].by_session);
                                        }
index f378722..36850ce 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.10.72
+Version:    0.10.73
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0