catch exception using BT as second user

This commit is contained in:
Eric House 2020-09-14 09:58:04 -07:00
parent 1e9cc5d325
commit 534612be85

View file

@ -1257,7 +1257,7 @@ public class BTService extends XWJIService {
dos = new DataOutputStream( socket.getOutputStream() ); dos = new DataOutputStream( socket.getOutputStream() );
dos.writeByte( BT_PROTO ); dos.writeByte( BT_PROTO );
break; // success!!! break; // success!!!
} catch (IOException ioe) { } catch (IOException|SecurityException ioe) {
// Log.d( TAG, "connect(): %s", ioe.getMessage() ); // Log.d( TAG, "connect(): %s", ioe.getMessage() );
long msLeft = end - System.currentTimeMillis(); long msLeft = end - System.currentTimeMillis();
if ( msLeft <= 0 ) { if ( msLeft <= 0 ) {