diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-13 08:43:49 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-02-13 11:40:25 +0000 |
commit | dcfd1ae2c8623c74b027390866d1ea62bc29d6ae (patch) | |
tree | b5729d19bb3e5ac24cf658bc0d20e19f9dfe2cfb | |
parent | 4ed9aa98519dee8927cad5e792a06578263390a5 (diff) |
Don't bother with unnamed computers
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothFinder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothFinder.java b/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothFinder.java index b9c2cab545c8..972a8a403074 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothFinder.java +++ b/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothFinder.java @@ -77,6 +77,8 @@ public class BluetoothFinder { BluetoothDevice aDevice = (BluetoothDevice) aIntent.getExtras() .get(BluetoothDevice.EXTRA_DEVICE); Log.i(Globals.TAG, "BluetoothFinder.onReceive: found " + aDevice.getName() + " at " + aDevice.getAddress()); + if (aDevice.getName() == null) + return; Server aServer = new Server(Protocol.BLUETOOTH, aDevice.getAddress(), aDevice.getName(), System.currentTimeMillis()); |