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

Commit 5bcb005a authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "AudioManager: update javadoc for setCommunicationDevice" into sc-dev

parents ccc3f976 9a404486
Loading
Loading
Loading
Loading
+14 −18
Original line number Diff line number Diff line
@@ -7084,7 +7084,6 @@ public class AudioManager {
     * <pre class="prettyprint">
     * // Get an AudioManager instance
     * AudioManager audioManager = Context.getSystemService(AudioManager.class);
     * try {
     * AudioDeviceInfo speakerDevice = null;
     * List<AudioDeviceInfo> devices = audioManager.getAvailableCommunicationDevices();
     * for (AudioDeviceInfo device : devices) {
@@ -7102,9 +7101,6 @@ public class AudioManager {
     *     // Turn speakerphone OFF.
     *     audioManager.clearCommunicationDevice();
     * }
     * } catch (IllegalArgumentException e) {
     *     // Handle exception.
     * }
     * </pre>
     * @param device the requested audio device.
     * @return <code>true</code> if the request was accepted, <code>false</code> otherwise.