d573db5bfc96c3066103ac53987b5741f61da158 |
|
18-May-2017 |
Antony Sargent <asargent@google.com> |
Fix a race condition in the A2dpProfile constructor When constructing A2dpProfile objects, we were creating an A2dpServiceListener before initializing the mWrapperFactory instance variable that it depended on. If the onServiceConnected callback happens immediately after the listener is created, we'd get a null pointer exception. The fix is to move initialization of mWrapperFactory up before the construction of the A2dpServiceListener. Bug: 38391718 Test: run boot tests Change-Id: Ib0be947099862b19da7737b54b99b944241b605f
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java
|
374d259815b801010cafd3c63aa0f1afb75a7fa6 |
|
20-Apr-2017 |
Antony Sargent <asargent@google.com> |
Add a "Use high quality audio" option to Bluetooth A2DP device settings This change adds a checkbox reading "Use high quality audio: <codec name>" to the details dialog for A2DP audio bluetooth devices that support codecs other than the mandatory SBC (eg AAC, LDAC, aptX, etc.). Bug: 37441685 Test: manually Change-Id: I3eed50b9cced6f9f7f4efd70955de1bf9c309346
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java
|
eb067ba741f0dc55cd3b8c0f84776191c6d01809 |
|
17-Nov-2016 |
Pavlin Radoslavov <pavlin@google.com> |
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
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java
|
7ce96b9e610de2782ec5f2af806e7bc0f90c8578 |
|
02-Feb-2015 |
Jason Monk <jmonk@google.com> |
Move non-ui bt settings code to SettingsLib Mostly this is moving classes from Settings to SettingsLib but there were a few changes to support this separation. - A bunch of things became public rather than package - Moved some settings only code out of these classes - Added error callback to handle errors To see the changes from original classes view the diff against patch-set 1. Bug: 19180466 Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java
|