mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
log BT UUID on startup
This commit is contained in:
parent
378b068238
commit
8e45c57178
2 changed files with 2 additions and 0 deletions
|
@ -1135,6 +1135,7 @@ public class BTUtils {
|
||||||
try {
|
try {
|
||||||
Assert.assertTrueNR( null != sAppName && null != sUUID );
|
Assert.assertTrueNR( null != sAppName && null != sUUID );
|
||||||
mServerSocket = openListener( mAdapter );
|
mServerSocket = openListener( mAdapter );
|
||||||
|
Log.d( TAG, "openListener(uuid=%s) succeeded", sUUID );
|
||||||
} catch ( IOException ioe ) {
|
} catch ( IOException ioe ) {
|
||||||
Log.ex( TAG, ioe );
|
Log.ex( TAG, ioe );
|
||||||
mServerSocket = null;
|
mServerSocket = null;
|
||||||
|
|
|
@ -167,6 +167,7 @@ public class XWApp extends Application
|
||||||
{
|
{
|
||||||
if ( null == s_UUID ) {
|
if ( null == s_UUID ) {
|
||||||
s_UUID = UUID.fromString( XwJNI.comms_getUUID() );
|
s_UUID = UUID.fromString( XwJNI.comms_getUUID() );
|
||||||
|
Log.d( TAG, "s_UUID (for BT): %s", s_UUID );
|
||||||
}
|
}
|
||||||
return s_UUID;
|
return s_UUID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue