Loading media/java/android/media/AudioManager.java +14 −18 Original line number Diff line number Diff line Loading @@ -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) { Loading @@ -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. Loading Loading
media/java/android/media/AudioManager.java +14 −18 Original line number Diff line number Diff line Loading @@ -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) { Loading @@ -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. Loading