diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2010-03-09 09:17:45 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-03-09 09:17:45 -0800 |
commit | a9fb0a2497e563c2066e10a816ff1f7baaf8aa9b (patch) | |
tree | ab2294c18c5fa507e0753fe0f7f3ca919fa2b530 /media | |
parent | 15b3287994b92bb9bff10e65a56bc8a663d0e05d (diff) | |
parent | eabb6df2fac57134b82f90a63730b2371589bded (diff) | |
download | frameworks_base-a9fb0a2497e563c2066e10a816ff1f7baaf8aa9b.zip frameworks_base-a9fb0a2497e563c2066e10a816ff1f7baaf8aa9b.tar.gz frameworks_base-a9fb0a2497e563c2066e10a816ff1f7baaf8aa9b.tar.bz2 |
Merge "Unhide API additions to AudioManager for AudioFocus support."
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/AudioManager.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/media/java/android/media/AudioManager.java b/media/java/android/media/AudioManager.java index b0a179f..4fa3327 100644 --- a/media/java/android/media/AudioManager.java +++ b/media/java/android/media/AudioManager.java @@ -1132,41 +1132,31 @@ public class AudioManager { } /** - * TODO unhide for SDK * Used to indicate a loss of audio focus of unknown duration. * @see OnAudioFocusChangeListener#onAudioFocusChanged(int) - * {@hide} */ public static final int AUDIOFOCUS_LOSS = -1; /** - * TODO unhide for SDK * Used to indicate a transient loss of audio focus. * @see OnAudioFocusChangeListener#onAudioFocusChanged(int) - * {@hide} */ public static final int AUDIOFOCUS_LOSS_TRANSIENT = -2; /** - * TODO unhide for SDK * Used to indicate a gain of audio focus, or a request of audio focus, of unknown duration. * @see OnAudioFocusChangeListener#onAudioFocusChanged(int) * @see #requestAudioFocus(OnAudioFocusChangeListener, int, int) - * {@hide} */ public static final int AUDIOFOCUS_GAIN = 1; /** - * TODO unhide for SDK * Used to indicate a temporary gain or request of audio focus, anticipated to last a short * amount of time. Examples of temporary changes are the playback of driving directions, or an * event notification. * @see OnAudioFocusChangeListener#onAudioFocusChanged(int) * @see #requestAudioFocus(OnAudioFocusChangeListener, int, int) - * {@hide} */ public static final int AUDIOFOCUS_GAIN_TRANSIENT = 2; /** - * TODO unhide for SDK - * {@hide} * Interface definition for a callback to be invoked when the audio focus of the system is * updated. */ @@ -1267,8 +1257,6 @@ public class AudioManager { } /** - * TODO unhide for SDK - * {@hide} * Register a listener for audio focus updates. */ public void registerAudioFocusListener(OnAudioFocusChangeListener l) { @@ -1284,9 +1272,7 @@ public class AudioManager { } /** - * TODO unhide for SDK * TODO document for SDK - * {@hide} */ public void unregisterAudioFocusListener(OnAudioFocusChangeListener l) { // notify service to remove it from audio focus stack @@ -1304,22 +1290,16 @@ public class AudioManager { /** - * TODO unhide for SDK * TODO document for SDK - * {@hide} */ public static final int AUDIOFOCUS_REQUEST_FAILED = 0; /** - * TODO unhide for SDK * TODO document for SDK - * {@hide} */ public static final int AUDIOFOCUS_REQUEST_GRANTED = 1; /** - * TODO unhide for SDK - * {@hide} * Request audio focus. * Send a request to obtain the audio focus for a specific stream type * @param l the listener to be notified of audio focus changes @@ -1347,9 +1327,7 @@ public class AudioManager { /** - * TODO unhide for SDK * TODO document for SDK - * {@hide} * Abandon audio focus. * @return {@link #AUDIOFOCUS_REQUEST_FAILED} or {@link #AUDIOFOCUS_REQUEST_GRANTED} */ |