Merge "Start the accept thread when the socket gets disconnected."
This commit is contained in:
committed by
Android (Google) Code Review
commit
e79b943821
@@ -402,6 +402,8 @@ public class BluetoothChatService {
|
||||
} catch (IOException e) {
|
||||
Log.e(TAG, "disconnected", e);
|
||||
connectionLost();
|
||||
// Start the service over to restart listening mode
|
||||
BluetoothChatService.this.start();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user