2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Added default value while checking for link name in pairing handler, this provides backward compatibility

This commit is contained in:
Vineet Garg
2015-08-14 17:34:35 +05:30
parent 5b0876f424
commit cc7a1f5a2b

View File

@@ -68,7 +68,7 @@ public class LanPairingHandler extends BasePairingHandler {
@Override
public void packageReceived(NetworkPackage np) throws Exception{
if (!np.getString("link").equals(mBaseLink.getName())) {
if (!np.getString("link", mDevice.getName()).equals(mBaseLink.getName())) {
return;
}