summaryrefslogtreecommitdiffstats
path: root/core/java/android/server
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-05-04 15:52:42 -0700
committerJaikumar Ganesh <jaikumar@google.com>2010-05-04 15:52:42 -0700
commit9997f66f6288f99e8cdab3201d3b6ad606789efe (patch)
tree0098cc5ea1403aaec6d2b835866bd0e8dd775bcd /core/java/android/server
parent55b0110fc298c403887b1311d7eabfffa230495f (diff)
downloadframeworks_base-9997f66f6288f99e8cdab3201d3b6ad606789efe.zip
frameworks_base-9997f66f6288f99e8cdab3201d3b6ad606789efe.tar.gz
frameworks_base-9997f66f6288f99e8cdab3201d3b6ad606789efe.tar.bz2
Revert "Fix runtime reboot when connecting to a A2DP headset and"
This reverts commit 55b0110fc298c403887b1311d7eabfffa230495f.
Diffstat (limited to 'core/java/android/server')
-rw-r--r--core/java/android/server/BluetoothA2dpService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/server/BluetoothA2dpService.java b/core/java/android/server/BluetoothA2dpService.java
index ac89934..893db2e 100644
--- a/core/java/android/server/BluetoothA2dpService.java
+++ b/core/java/android/server/BluetoothA2dpService.java
@@ -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);