summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothSocket.java
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2016-06-01 22:25:18 -0700
committerPavlin Radoslavov <pavlin@google.com>2016-06-07 20:26:10 +0000
commit9c5da667e73cc5deacf74902cb669cadcd3fae1f (patch)
tree594877fb27986332874361ce10b4d200860597ad /framework/java/android/bluetooth/BluetoothSocket.java
parent4ad852934b9b5cc99e80805fb097dd018a2e5512 (diff)
Delay handleEnable() until Bluetooth state is OFF
During shutdown of the Bluetooth stack, if a request to enable Bluetooth is received, the request is processed immediately. As a result, we don't let the Bluetooth service to shutdown cleanly, and the Bluetooth process with the native backend doesn't go away. This creates various issues in the native backend stack. Now, after an enable request is received, if necessary we delay acting on it, until the Bluetooth state is OFF. Bug: 17723234 Change-Id: I55db4bbd4f45227aa49eae996dcc328f76557a9b (cherry picked from commit e47ec14318f64c29bf16b5a6bb662bc19206d6b0)
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothSocket.java')
0 files changed, 0 insertions, 0 deletions