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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user