2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-05 00:25:09 +00:00

Inform other devices we don't trust them when they talk to us

This commit is contained in:
Albert Vaca
2014-06-09 11:49:57 +02:00
parent 64c5362b1c
commit 1dbc93ec73

View File

@@ -209,8 +209,6 @@ public class Device implements BaseLink.PackageReceiver {
public void unpair() {
if (!isPaired()) return;
//Log.e("Device","Unpairing (unpair)");
pairStatus = PairStatus.NotPaired;
@@ -452,7 +450,7 @@ public class Device implements BaseLink.PackageReceiver {
}
} else if (!isPaired()) {
//TODO: Notify the other side that we don't trust them
unpair();
Log.e("onPackageReceived","Device not paired, ignoring package!");
} else {