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

Skip to content
Commit f9128dcf authored by Pavel Maltsev's avatar Pavel Maltsev
Browse files

Ignore incoming A2DP if profile is disabled

If profile was disabled (PRIORITY_OFF), it should not accept
incoming connections. A2DP source currently respects priority off, in
A2dpService.isOkToConnect(), but A2DP sink silently accepts incoming
connection.

Bug: 140590407
Test: connect phone with Automotive OS (it implements sink
profile). Disable A2DP from settings in Automotive OS, try to
connect from the phone side - verify A2DP remains disconnected.

Change-Id: Ib0afdd9436301ca1d76bb37ec871c4f974f1996f
(cherry picked from commit 9be95315eb5e502889e7d49fadbc243bde2aba76)
parent 4a3a2fed
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