Auto connect hf/a2dp when any one of them gets connected and timeout happens
Change-Id: I6249c2fceab87f91c6629d19f72268d000ecf61c
This commit is contained in:
committed by
Matthew Xie
parent
654a3ab77d
commit
00ec05985d
@@ -30,10 +30,6 @@ import com.android.settings.R;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A2dpProfile handles Bluetooth A2DP.
|
||||
* TODO: add null checks around calls to mService object.
|
||||
*/
|
||||
final class A2dpProfile implements LocalBluetoothProfile {
|
||||
private static final String TAG = "A2dpProfile";
|
||||
private static boolean V = true;
|
||||
@@ -89,7 +85,7 @@ final class A2dpProfile implements LocalBluetoothProfile {
|
||||
return true;
|
||||
}
|
||||
|
||||
private List<BluetoothDevice> getConnectedDevices() {
|
||||
public List<BluetoothDevice> getConnectedDevices() {
|
||||
return mService.getDevicesMatchingConnectionStates(
|
||||
new int[] {BluetoothProfile.STATE_CONNECTED,
|
||||
BluetoothProfile.STATE_CONNECTING,
|
||||
|
Reference in New Issue
Block a user