Revert "Fix runtime reboot when connecting to a A2DP headset and"

This reverts commit 55b0110fc2.
This commit is contained in:
Jaikumar Ganesh
2010-05-04 15:52:42 -07:00
parent 55b0110fc2
commit 9997f66f62
2 changed files with 0 additions and 2 deletions

View File

@ -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);