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

Skip to content
Commit f7600ea2 authored by Jakub Rotkiewicz's avatar Jakub Rotkiewicz
Browse files

btif_av: access peers_ only from BtifAvSource/Sink

This CL adds mutexes to protect peers_ in BtifAvSource/Sink. It also
moves the invocation of btif_debug_av_peer_dump inside
BtifAvSource/Sink classes.
The Peers() methods are removed as they allowed nullpointer dereference in
some scenarios.
As peers_ are protected by mutex there is no need to handle
src_do_suspend_in_main_thread in main thread.

Bug: 300211201
Flag: Exempt, mechanical change only
Test: mmm packages/modules/Bluetooth

Change-Id: I509a41bff0c6200e11dc7c69705f942590e290a8
parent 1c201bc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment