in rx-central-ble/src/main/java/com/uber/rxcentralble/core/scanners/JellyBeanScanner.java [103:114]
private void stopScan() {
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
if (adapter != null && adapter.isEnabled()) {
adapter.stopLeScan(leScanCallback);
} else if (RxCentralLogger.isError()) {
if (adapter == null) {
RxCentralLogger.error("stopScan - Default Bluetooth Adapter is null!");
} else {
RxCentralLogger.error("stopScan - Bluetooth Adapter is disabled.");
}
}
}