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

Commit aa2066f9 authored by Hui Peng's avatar Hui Peng
Browse files

Add type and len field in sdp attr in SetUpSdp

Bug: 263958603
Test: atest net_test_avrcp
Ignore-AOSP-First: security
Tag: #security
Change-Id: Ic807df3bce25fdcd83061d24ac185ba3c4bab328
(cherry picked from commit 2d5672a6)
parent b7c4b272
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>

#include "sdpdefs.h"
#include "avrcp_internal.h"
#include "avrcp_test_helper.h"
#include "connection_handler.h"
@@ -55,7 +56,7 @@ class AvrcpConnectionHandlerTest : public testing::Test {
    fake_features = {
        .p_next_attr = nullptr,
        .attr_id = 0,
        .attr_len_type = 0,
        .attr_len_type = (UINT_DESC_TYPE<<12) | 2,
        .attr_value = {.v = {.u16 = 0}},
    };