Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ed79b38 authored by Omair Kamil's avatar Omair Kamil
Browse files

Update documentation in BluetoothAdapter to direct users to BluetoothLeScanner for LE scans.

Bug: 337309117
Fix: 337309117
Test: m Bluetooth
Flag: EXEMPT, documentation change
Change-Id: If4561d8c1a5fbb96f17658318cbf7c1764b9085d
parent 1268c1b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -110,7 +110,8 @@ import java.util.function.BiFunction;
 * create a {@link BluetoothServerSocket} to listen for incoming RFComm connection requests with
 * {@link #listenUsingRfcommWithServiceRecord(String, UUID)}; listen for incoming L2CAP
 * Connection-oriented Channels (CoC) connection requests with {@link #listenUsingL2capChannel()};
 * or start a scan for Bluetooth LE devices with {@link #startLeScan(LeScanCallback callback)}.
 * or start a scan for Bluetooth LE devices with {@link BluetoothLeScanner#startScan(ScanCallback)}
 * using the scanner from {@link #getBluetoothLeScanner()}.
 *
 * <p>This class is thread safe. <div class="special reference">
 *