1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Xiaomi Watch S1 Active: disable find device and override connection type

This commit is contained in:
MrYoranimo 2023-12-15 23:52:32 +01:00 committed by José Rebelo
parent 815582354d
commit 2812ad1429

View File

@ -45,6 +45,16 @@ public class XiaomiWatchS1ActiveCoordinator extends XiaomiCoordinator {
return true;
}
@Override
public ConnectionType getConnectionType() {
return ConnectionType.BOTH;
}
@Override
public boolean supportsFindDevice() {
return false;
}
@Nullable
@Override
public InstallHandler findInstallHandler(Uri uri, Context context) {