Revert "Fix runtime reboot when connecting to a A2DP headset and"
This reverts commit 55b0110fc2
.
This commit is contained in:
@ -554,7 +554,6 @@ public class BluetoothA2dpService extends IBluetoothA2dp.Stub {
|
||||
if (!result) {
|
||||
if (deviceObjectPath != null) {
|
||||
String address = mBluetoothService.getAddressFromObjectPath(deviceObjectPath);
|
||||
if (address == null) return;
|
||||
BluetoothDevice device = mAdapter.getRemoteDevice(address);
|
||||
int state = getSinkState(device);
|
||||
handleSinkStateChange(device, state, BluetoothA2dp.STATE_DISCONNECTED);
|
||||
|
Reference in New Issue
Block a user