diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/TransactionBuilder.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/TransactionBuilder.java index f121512c4..e622636a8 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/TransactionBuilder.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/TransactionBuilder.java @@ -67,9 +67,9 @@ public class TransactionBuilder { ); } - public TransactionBuilder requestConnectionPriority(int mtu){ + public TransactionBuilder requestConnectionPriority(int priority){ return add( - new RequestConnectionPriorityAction(mtu) + new RequestConnectionPriorityAction(priority) ); } diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/RequestConnectionPriorityAction.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/RequestConnectionPriorityAction.java index d5666f68c..0ff8c9bff 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/RequestConnectionPriorityAction.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/RequestConnectionPriorityAction.java @@ -29,7 +29,6 @@ public class RequestConnectionPriorityAction extends BtLEAction { this.priority = priority; } - @Override public boolean expectsResult() { return true;