mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-23 10:27:57 +00:00
Inform other devices we don't trust them when they talk to us
This commit is contained in:
parent
64c5362b1c
commit
1dbc93ec73
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user