OSDN Git Service

Hide AudioManager.startBluetoothScoVirtualCall()
authorJean-Michel Trivi <jmtrivi@google.com>
Fri, 18 Jul 2014 22:31:29 +0000 (15:31 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Fri, 18 Jul 2014 23:47:25 +0000 (16:47 -0700)
Not intended for public consumption.

Bug 16401631

Change-Id: I299a4719fef57a66a428ccf1902aefaf59d7e064

api/current.txt
media/java/android/media/AudioManager.java

index 2adf9dc..74508b8 100644 (file)
@@ -14132,7 +14132,6 @@ package android.media {
     method public deprecated void setWiredHeadsetOn(boolean);
     method public deprecated boolean shouldVibrate(int);
     method public void startBluetoothSco();
-    method public void startBluetoothScoVirtualCall();
     method public void stopBluetoothSco();
     method public void unloadSoundEffects();
     method public void unregisterMediaButtonEventReceiver(android.content.ComponentName);
index ef95c11..5dc59f9 100644 (file)
@@ -1341,6 +1341,7 @@ public class AudioManager {
     }
 
     /**
+     * @hide
      * Start bluetooth SCO audio connection in virtual call mode.
      * <p>Requires Permission:
      *   {@link android.Manifest.permission#MODIFY_AUDIO_SETTINGS}.
@@ -1368,12 +1369,11 @@ public class AudioManager {
      * <p>Requires Permission:
      *   {@link android.Manifest.permission#MODIFY_AUDIO_SETTINGS}.
      * <p>This method must be called by applications having requested the use of
-     * bluetooth SCO audio with {@link #startBluetoothSco()} or
-     * {@link #startBluetoothScoVirtualCall()} when finished with the SCO connection or
-     * if connection fails.
+     * bluetooth SCO audio with {@link #startBluetoothSco()} when finished with the SCO
+     * connection or if connection fails.
      * @see #startBluetoothSco()
-     * @see #startBluetoothScoVirtualCall()
      */
+    // Also used for connections started with {@link #startBluetoothScoVirtualCall()}
     public void stopBluetoothSco(){
         IAudioService service = getService();
         try {