Commit 1d1672e3 authored by Vitaly Chekryzhev's avatar Vitaly Chekryzhev Committed by Yuichi Araki
Browse files

BluetoothChat: Fix crash on disconnection

https://github.com/googlesamples/android-BluetoothChat/pull/1
Update BluetoothChatService.java
Read input stream only when connection established. Otherwise there will
be exceptions on disconnection and disconnection when program finish.

Change-Id: I4fb93cee93c271d2159c7811a83474699eb3ae0b
parent 90ec985b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment