Skip to content

Commit

Permalink
Fix build broken by #414 by adding an implementation for the missing …
Browse files Browse the repository at this point in the history
…interface method (#427)
  • Loading branch information
bleeding182 authored and dariuszseweryn committed May 18, 2018
1 parent a585890 commit 0999a6a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.polidea.rxandroidble2.RxBleCustomOperation;
import com.polidea.rxandroidble2.RxBleDeviceServices;
import com.polidea.rxandroidble2.exceptions.BleConflictingNotificationAlreadySetException;
import com.polidea.rxandroidble2.internal.Priority;
import com.polidea.rxandroidble2.internal.connection.ImmediateSerializedBatchAckStrategy;
import com.polidea.rxandroidble2.internal.util.ObservableUtil;

Expand Down Expand Up @@ -468,4 +469,9 @@ public Completable apply(BluetoothGattDescriptor bluetoothGattDescriptor) {
public <T> Observable<T> queue(@NonNull RxBleCustomOperation<T> operation) {
throw new UnsupportedOperationException("Mock does not support queuing custom operation.");
}

@Override
public <T> Observable<T> queue(@NonNull RxBleCustomOperation<T> operation, Priority priority) {
throw new UnsupportedOperationException("Mock does not support queuing custom operation.");
}
}

0 comments on commit 0999a6a

Please sign in to comment.