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

Commit 9c67f096 authored by Stanley Tng's avatar Stanley Tng Committed by android-build-merger
Browse files

Merge "Add note for FLAG_CANCEL_CURRENT when stopping scan" am: ff0bb06f am: d63c1209ed

am: cf825b33a0

Change-Id: I9d7ade22e528dac625debb580b0ebc54022b83a1
parents e0c67263 ff0bb06f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -275,7 +275,9 @@ public final class BluetoothLeScanner {
    }

    /**
     * Stops an ongoing Bluetooth LE scan started using a PendingIntent.
     * Stops an ongoing Bluetooth LE scan started using a PendingIntent. When creating the
     * PendingIntent parameter, please do not use the FLAG_CANCEL_CURRENT flag. Otherwise, the stop
     * scan may have no effect.
     *
     * @param callbackIntent The PendingIntent that was used to start the scan.
     * @see #startScan(List, ScanSettings, PendingIntent)