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

Commit 274c0066 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "BluetoothProfileConnectionInfo: javadoc update for LE factory methods"...

Merge "BluetoothProfileConnectionInfo: javadoc update for LE factory methods" am: f4540227 am: e7931237

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2435838



Change-Id: Id5223c551a2f41e40ed19c7c244c8b12daae29cb
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1ac72c40 e7931237
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -112,8 +112,10 @@ public final class BluetoothProfileConnectionInfo implements Parcelable {
    }
    }


    /**
    /**
     * constructor for le audio info
     * Factory method for <code>BluetoothProfileConnectionInfo</code> for an LE device
     *
     * Use this method for an input device connection,
     * or for an output device connection if the connection volume is unknown,
     * otherwise use {@link #createLeAudioOutputInfo(boolean, int)}.
     * @param suppressNoisyIntent if true the {@link AudioManager.ACTION_AUDIO_BECOMING_NOISY}
     * @param suppressNoisyIntent if true the {@link AudioManager.ACTION_AUDIO_BECOMING_NOISY}
     * intent will not be sent.
     * intent will not be sent.
     *
     *
@@ -127,6 +129,8 @@ public final class BluetoothProfileConnectionInfo implements Parcelable {


    /**
    /**
     * Factory method for <code>BluetoothProfileConnectionInfo</code> for an LE output device
     * Factory method for <code>BluetoothProfileConnectionInfo</code> for an LE output device
     * Use this method for an output device connection with a volume to be used at connection
     * time.
     * @param suppressNoisyIntent if true the {@link AudioManager.ACTION_AUDIO_BECOMING_NOISY}
     * @param suppressNoisyIntent if true the {@link AudioManager.ACTION_AUDIO_BECOMING_NOISY}
     *     intent will not be sent.
     *     intent will not be sent.
     * @param volume the volume index of the device, -1 if unknown or to be ignored
     * @param volume the volume index of the device, -1 if unknown or to be ignored