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

Commit 1afd3f4e authored by Prerepa Viswanadham's avatar Prerepa Viswanadham
Browse files

Update javadoc comments for getBluetoothLeAdvertiser()

To clarify that BluetoothLeAdvertiser object will return null
when BT is off OR if the hw doesn't support these capabilities

bug: 18006072
Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970
parent 68e110a6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -454,8 +454,9 @@ public final class BluetoothAdapter {
    }

    /**
     * Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations, or
     * null if Bluetooth LE Advertising is not support on this device.
     * Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations.
     * Will return null if Bluetooth is turned off or if Bluetooth LE Advertising is not
     * supported on this device.
     * <p>
     * Use {@link #isMultipleAdvertisementSupported()} to check whether LE Advertising is supported
     * on this device before calling this method.