Loading system/btif/src/btif_rc.c +9 −12 Original line number Diff line number Diff line Loading @@ -1957,7 +1957,7 @@ static void handle_rc_metamsg_rsp(tBTA_AV_META_MSG *pmeta_msg) ** ** Description iterator callback function to match the event and handle ** timer cleanup ** Returns true if matches with the event, flase to stop ** Returns true to continue iterating, false to stop ** ***************************************************************************/ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) Loading @@ -1970,10 +1970,10 @@ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) if (p_event->event_id == *p_event_id) { p_event->status = eINTERIM; return true; } return false; } return true; } /*************************************************************************** ** Loading @@ -1990,20 +1990,17 @@ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) bool iterate_supported_event_list_for_timeout(void *data, void *cb_data) { UINT8 label; UINT32 cb_value; btif_rc_supported_event_t *p_event = (btif_rc_supported_event_t *)data; cb_value = (UINT32)cb_data; label = cb_value & 0xFF; label = (*(UINT8*)cb_data) & 0xFF; if (p_event->label == label) { list_remove(btif_rc_cb.rc_supported_event_list, p_event); return true; } return false; } return true; } /*************************************************************************** ** Loading Loading
system/btif/src/btif_rc.c +9 −12 Original line number Diff line number Diff line Loading @@ -1957,7 +1957,7 @@ static void handle_rc_metamsg_rsp(tBTA_AV_META_MSG *pmeta_msg) ** ** Description iterator callback function to match the event and handle ** timer cleanup ** Returns true if matches with the event, flase to stop ** Returns true to continue iterating, false to stop ** ***************************************************************************/ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) Loading @@ -1970,10 +1970,10 @@ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) if (p_event->event_id == *p_event_id) { p_event->status = eINTERIM; return true; } return false; } return true; } /*************************************************************************** ** Loading @@ -1990,20 +1990,17 @@ bool iterate_supported_event_list_for_interim_rsp(void *data, void *cb_data) bool iterate_supported_event_list_for_timeout(void *data, void *cb_data) { UINT8 label; UINT32 cb_value; btif_rc_supported_event_t *p_event = (btif_rc_supported_event_t *)data; cb_value = (UINT32)cb_data; label = cb_value & 0xFF; label = (*(UINT8*)cb_data) & 0xFF; if (p_event->label == label) { list_remove(btif_rc_cb.rc_supported_event_list, p_event); return true; } return false; } return true; } /*************************************************************************** ** Loading