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

Commit ec0372c3 authored by Cheney Ni's avatar Cheney Ni
Browse files

A2DP: Don't start or suspend the encoder for a non-active sink

While switching the A2DP active device, those AV_START or AV_SUSPEND
events might be from previous active device which was no longer active
now. We should keep it as suspended, but don't change the encoder and
audio provider state by these events.

This CL also simplify A2DP source suspend / stop callbacks.

Bug: 144670756
Test: Switch A2DP active device manually
Change-Id: I640e1e219306641beca1ff5ac758c2c95d925737
parent 7eff9ef7
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