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

Commit 67478aee authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Framework: update some nits in javadoc" into main

parents bc57b7c2 4cf53438
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -360,11 +360,11 @@ public class AudioInputControl {
     * remote device changes.
     *
     * <p>Repeated registration of the same callback object will have no effect after the first call
     * to this method, even when the executor is different. API caller would have to call {@link
     * to this method, even when the executor is different. API caller must call {@link
     * #unregisterCallback(AudioInputCallback)} with the same callback object before registering it
     * again.
     *
     * <p>Callbacks are automatically unregistered when application process goes away.
     * <p>Callbacks are automatically unregistered when the application process goes away.
     *
     * @param executor an {@link Executor} to execute given callback
     * @param callback user implementation of the {@link AudioInputCallback}
@@ -383,7 +383,7 @@ public class AudioInputControl {
     * <p>The same {@link AudioInputCallback} object used when calling {@link
     * #registerCallback(Executor, AudioInputCallback)} must be used.
     *
     * <p>Callbacks are automatically unregistered when application process goes away.
     * <p>Callbacks are automatically unregistered when the application process goes away.
     *
     * @param callback user implementation of the {@link AudioInputCallback}
     * @throws IllegalArgumentException when no callback is registered
+3 −3
Original line number Diff line number Diff line
@@ -522,8 +522,8 @@ public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable
     *
     * <p>Repeated registration of the same <var>callback</var> object after the first call to this
     * method will result with IllegalArgumentException being thrown, even when the
     * <var>executor</var> is different. API caller would have to call {@link
     * #unregisterCallback(Callback)} with the same callback object before registering it again.
     * <var>executor</var> is different. API caller must call {@link #unregisterCallback(Callback)}
     * with the same callback object before registering it again.
     *
     * @param executor an {@link Executor} to execute given callback
     * @param callback user implementation of the {@link Callback}
@@ -546,7 +546,7 @@ public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable
     * <p>The same {@link Callback} object used when calling {@link #registerCallback(Executor,
     * Callback)} must be used.
     *
     * <p>Callbacks are automatically unregistered when application process goes away
     * <p>Callbacks are automatically unregistered when the application process goes away
     *
     * @param callback user implementation of the {@link Callback}
     * @throws NullPointerException when callback is null or IllegalArgumentException when no
+4 −4
Original line number Diff line number Diff line
@@ -978,9 +978,9 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable {
     * Register a {@link Callback} that will be invoked during the operation of this profile.
     *
     * <p>Repeated registration of the same <var>callback</var> object will have no effect after the
     * first call to this method, even when the <var>executor</var> is different. API caller would
     * have to call {@link #unregisterCallback(Callback)} with the same callback object before
     * registering it again.
     * first call to this method, even when the <var>executor</var> is different. API caller must
     * call {@link #unregisterCallback(Callback)} with the same callback object before registering
     * it again.
     *
     * <p>The {@link Callback} will be invoked only if there is codec status changed for the remote
     * device or the device is connected/disconnected in a certain group or the group status is
@@ -1014,7 +1014,7 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable {
     * <p>The same {@link Callback} object used when calling {@link #registerCallback(Executor,
     * Callback)} must be used.
     *
     * <p>Callbacks are automatically unregistered when application process goes away
     * <p>Callbacks are automatically unregistered when the application process goes away
     *
     * @param callback user implementation of the {@link Callback}
     * @throws NullPointerException when callback is null
+3 −3
Original line number Diff line number Diff line
@@ -347,8 +347,8 @@ public final class BluetoothLeBroadcast implements AutoCloseable, BluetoothProfi
     *
     * <p>Repeated registration of the same <var>callback</var> object after the first call to this
     * method will result with IllegalArgumentException being thrown, even when the
     * <var>executor</var> is different. API caller would have to call {@link
     * #unregisterCallback(Callback)} with the same callback object before registering it again.
     * <var>executor</var> is different. API caller must call {@link #unregisterCallback(Callback)}
     * with the same callback object before registering it again.
     *
     * @param executor an {@link Executor} to execute given callback
     * @param callback user implementation of the {@link Callback}
@@ -400,7 +400,7 @@ public final class BluetoothLeBroadcast implements AutoCloseable, BluetoothProfi
     * <p>The same {@link Callback} object used when calling {@link #registerCallback(Executor,
     * Callback)} must be used.
     *
     * <p>Callbacks are automatically unregistered when application process goes away
     * <p>Callbacks are automatically unregistered when the application process goes away
     *
     * @param callback user implementation of the {@link Callback}
     * @throws NullPointerException when callback is null or IllegalArgumentException when no
+3 −3
Original line number Diff line number Diff line
@@ -723,8 +723,8 @@ public final class BluetoothLeBroadcastAssistant implements BluetoothProfile, Au
     *
     * <p>Repeated registration of the same <var>callback</var> object after the first call to this
     * method will result with IllegalArgumentException being thrown, even when the
     * <var>executor</var> is different. API caller would have to call {@link
     * #unregisterCallback(Callback)} with the same callback object before registering it again.
     * <var>executor</var> is different. API caller must call {@link #unregisterCallback(Callback)}
     * with the same callback object before registering it again.
     *
     * @param executor an {@link Executor} to execute given callback
     * @param callback user implementation of the {@link Callback}
@@ -775,7 +775,7 @@ public final class BluetoothLeBroadcastAssistant implements BluetoothProfile, Au
     * <p>The same {@link Callback} object used when calling {@link #registerCallback(Executor,
     * Callback)} must be used.
     *
     * <p>Callbacks are automatically unregistered when application process goes away.
     * <p>Callbacks are automatically unregistered when the application process goes away.
     *
     * @param callback user implementation of the {@link Callback}
     * @throws NullPointerException when callback is null
Loading