OSDN Git Service

Move socket initialization code out of pbap service's main thread
authorMatthew Xie <mattx@google.com>
Tue, 2 Oct 2012 01:20:37 +0000 (18:20 -0700)
committerMatthew Xie <mattx@google.com>
Tue, 2 Oct 2012 21:44:41 +0000 (14:44 -0700)
commit6458cffaca286611e898c75ad86e2d98c89008b6
tree2615f6e6f0113f004b9cad2a2a37ee0856f97be4
parentc7ead6d5827f3832b9210e92fab7597142059852
Move socket initialization code out of pbap service's main thread

Socket initialization need the preparation from stack and a domain socket
connection. All this takes time and not proper to be run in the main thread.
bug 7258324

Change-Id: Ic46601602556c2949f18d446016188d874099874
src/com/android/bluetooth/btservice/RemoteDevices.java
src/com/android/bluetooth/pbap/BluetoothPbapService.java