mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-02 07:05:09 +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
|
@Override
|
||||||
public void packageReceived(NetworkPackage np) throws Exception{
|
public void packageReceived(NetworkPackage np) throws Exception{
|
||||||
|
|
||||||
if (!np.getString("link").equals(mBaseLink.getName())) {
|
if (!np.getString("link", mDevice.getName()).equals(mBaseLink.getName())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user