mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
fix exception launching in background
This commit is contained in:
parent
6d74c4c16f
commit
7e19a4ef85
1 changed files with 6 additions and 0 deletions
|
@ -553,6 +553,12 @@ public class BTService extends XWJIService {
|
|||
} catch ( IOException ioe ) {
|
||||
m_serverSocket = null;
|
||||
logIOE( ioe );
|
||||
} catch ( SecurityException ex ) {
|
||||
// Got this with a message saying not allowed to call
|
||||
// listenUsingRfcommWithServiceRecord() in background (on
|
||||
// Android 9)
|
||||
m_serverSocket = null;
|
||||
Log.ex( TAG, ex );
|
||||
}
|
||||
|
||||
int nBadCount = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue