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

Commit 8417d82d authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Gerrit Code Review
Browse files

Merge "[API Review] Javadoc for Bluetooth codec APIs"

parents e0bda1f9 1936f31d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -769,6 +769,9 @@ public final class BluetoothA2dp implements BluetoothProfile {
    /**
     * Retrieves the current codec configuration and the capabilities of the remote {@code device}.
     *
     * <p>This method also requires {@link android.Manifest.permission#BLUETOOTH_PRIVILEGED}
     * permission in API level {@link android.os.Build.VERSION_CODES#TIRAMISU} or older.
     *
     * @param device the remote Bluetooth device
     * @return       the current codec status of the remote Bluetooth device
     */
@@ -810,6 +813,9 @@ public final class BluetoothA2dp implements BluetoothProfile {
     * caller has the {@link android.Manifest.permission#BLUETOOTH_PRIVILEGED} permission, they can
     * bypass the Companion Device Manager association requirement.
     *
     * <p>This method also requires {@link android.Manifest.permission#BLUETOOTH_PRIVILEGED}
     * permission in API level {@link android.os.Build.VERSION_CODES#TIRAMISU} or older.
     *
     * @param device      the remote Bluetooth device
     * @param codecConfig the preferred codec configuration preference
     */