From 0ada1d63965b9629ae5dd2d0ef002768e05c4457 Mon Sep 17 00:00:00 2001 From: "pawel.urban" Date: Tue, 24 Oct 2017 08:30:59 +0200 Subject: [PATCH] Added log whilst scan operation is requested to stop --- .../rxandroidble/internal/operations/ScanOperation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/operations/ScanOperation.java b/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/operations/ScanOperation.java index 284d227c5..f8fa327db 100644 --- a/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/operations/ScanOperation.java +++ b/rxandroidble/src/main/java/com/polidea/rxandroidble/internal/operations/ScanOperation.java @@ -33,10 +33,11 @@ final protected void protectedRun(final Emitter emitter, Queue emitter.setCancellation(new Cancellable() { @Override public void cancel() throws Exception { + RxBleLog.i("Scan operation is requested to stop."); stopScan(rxBleAdapterWrapper, scanCallback); } }); - + RxBleLog.i("Scan operation is requested to start."); boolean startLeScanStatus = startScan(rxBleAdapterWrapper, scanCallback); if (!startLeScanStatus) {