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

Commit 1fd73369 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic90569abae897b919c4e9a51d9de335820c27f3d
parents e7c6b5f2 5bcb005a
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.