diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/AbstractBTDeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/AbstractBTDeviceSupport.java index 047f1677a..5b99504a0 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/AbstractBTDeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/AbstractBTDeviceSupport.java @@ -164,7 +164,7 @@ public abstract class AbstractBTDeviceSupport extends AbstractDeviceSupport { @Override public void onFindDevice(boolean start) { - byte[] bytes = gbDeviceProtocol.encodeLocateDevice(start); + byte[] bytes = gbDeviceProtocol.encodeFindDevice(start); sendToDevice(bytes); } } diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java index c1fe6a21e..c3bb4e5e0 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java @@ -62,7 +62,7 @@ public abstract class GBDeviceProtocol { return null; } - public byte[] encodeLocateDevice(boolean start) { + public byte[] encodeFindDevice(boolean start) { return null; }