mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
OOPS! used device name instead of link name in lan pairing handler
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", mDevice.getName()).equals(mBaseLink.getName())) {
|
if (!np.getString("link", mBaseLink.getName()).equals(mBaseLink.getName())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user