Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b24b0906 authored by Archie Pusaka's avatar Archie Pusaka Committed by Gerrit Code Review
Browse files

Merge "Floss: Allow to register RAW SDP record"

parents cd467bb6 0374ed0c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@
#include "bta_sdp_api.h"
#include "bta_sys.h"
#include "btif_common.h"
#include "btif_sock_sdp.h"
#include "btif_sock_util.h"
#include "btif_util.h"
#include "osi/include/allocator.h"
@@ -380,6 +381,12 @@ void on_create_record_event(int id) {
      case SDP_TYPE_MPS:
        handle = add_mps_sdp(&record->mps);
        break;
      case SDP_TYPE_RAW:
        if (record->hdr.rfcomm_channel_number > 0) {
          handle = add_rfc_sdp_rec(record->hdr.service_name, record->hdr.uuid,
                                   record->hdr.rfcomm_channel_number);
        }
        break;
      default:
        BTIF_TRACE_DEBUG("Record type %d is not supported", record->hdr.type);
        break;