diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2016-11-16 20:51:06 -0800 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2016-11-17 05:29:08 +0000 |
commit | eb067ba741f0dc55cd3b8c0f84776191c6d01809 (patch) | |
tree | d9999c449d7ea176f554e6e74a2184942f0573c5 /tools/aapt2/diff/Diff.cpp | |
parent | a908e65b66f9de251a4c610cb52673f2be3de4b4 (diff) |
Don't disconnect an A2DP device when connecting to same device
When processing a connect request for an A2DP device, Settings
would trigger a disconnect request for all A2DP devices that
have state of CONNECTED, CONNECTING or DISCONNECTING, including
eventually the device we are connecting to.
This could create timing-related issues, and is not necessary.
Now we explicitly check to avoid disconnecting the device we are
connecting to.
Test: Manual A2DP testing with a phone and wireless headsets
Bug: 32688022
Change-Id: I572dd87c071829b734513c4b928a4d65fe539520
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions