()
| 62 | } |
| 63 | |
| 64 | private void closeServerSocket() { |
| 65 | BluetoothServerSocket s = stealServerSocket(); |
| 66 | if (s == null) |
| 67 | return; |
| 68 | |
| 69 | try { |
| 70 | s.close(); |
| 71 | } catch (IOException e) { |
| 72 | Log.e(TAG, "Failed to close Bluetooth server socket", e); |
| 73 | } |
| 74 | |
| 75 | stateChanged(); |
| 76 | } |
| 77 | |
| 78 | @Override public void run() { |
| 79 | while (true) { |
no test coverage detected