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

Commit efb56a2b authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Łukasz Rymanowski (xWF)
Browse files

leaudio: Remove reduntant context type copy

With latest aligment of context type between directions, it is not
necessary to set local_metadata_context_types_.sink when
local_metadata_context_types_.source has changed.

This actually can break future context type when we set context type
with high priority e.g. CONVERSATIONAL

Bug: 367894783
Flag: Exempt, regression tested with unit test
Test: atest bluetooth_le_audio_client_test
Change-Id: I957b331f0bfd7b8d60b971fcf0e7903004ae480f
parent dcfef627
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4573,8 +4573,6 @@ public:
    /* Set the remote sink metadata context from the playback tracks metadata */
    local_metadata_context_types_.source = GetAudioContextsFromSourceMetadata(source_metadata);

    local_metadata_context_types_.sink =
            ChooseMetadataContextType(local_metadata_context_types_.sink);
    local_metadata_context_types_.source =
            ChooseMetadataContextType(local_metadata_context_types_.source);