Kaydet (Commit) b48bde46 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Don't bother with unnamed computers

Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
üst 6a4edb34
...@@ -77,6 +77,8 @@ public class BluetoothFinder { ...@@ -77,6 +77,8 @@ public class BluetoothFinder {
BluetoothDevice aDevice = (BluetoothDevice) aIntent.getExtras() BluetoothDevice aDevice = (BluetoothDevice) aIntent.getExtras()
.get(BluetoothDevice.EXTRA_DEVICE); .get(BluetoothDevice.EXTRA_DEVICE);
Log.i(Globals.TAG, "BluetoothFinder.onReceive: found " + aDevice.getName() + " at " + aDevice.getAddress()); Log.i(Globals.TAG, "BluetoothFinder.onReceive: found " + aDevice.getName() + " at " + aDevice.getAddress());
if (aDevice.getName() == null)
return;
Server aServer = new Server(Protocol.BLUETOOTH, Server aServer = new Server(Protocol.BLUETOOTH,
aDevice.getAddress(), aDevice.getName(), aDevice.getAddress(), aDevice.getName(),
System.currentTimeMillis()); System.currentTimeMillis());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment