diff options
-rw-r--r-- | api/8.xml | 26 | ||||
-rw-r--r-- | api/current.xml | 26 | ||||
-rw-r--r-- | media/java/android/media/AudioManager.java | 2 |
3 files changed, 2 insertions, 52 deletions
@@ -80490,19 +80490,6 @@ <parameter name="volume" type="float"> </parameter> </method> -<method name="registerAudioFocusListener" - return="void" - abstract="false" - native="false" - synchronized="false" - static="false" - final="false" - deprecated="not deprecated" - visibility="public" -> -<parameter name="l" type="android.media.AudioManager.OnAudioFocusChangeListener"> -</parameter> -</method> <method name="registerMediaButtonEventReceiver" return="void" abstract="false" @@ -80762,19 +80749,6 @@ visibility="public" > </method> -<method name="unregisterAudioFocusListener" - return="void" - abstract="false" - native="false" - synchronized="false" - static="false" - final="false" - deprecated="not deprecated" - visibility="public" -> -<parameter name="l" type="android.media.AudioManager.OnAudioFocusChangeListener"> -</parameter> -</method> <method name="unregisterMediaButtonEventReceiver" return="void" abstract="false" diff --git a/api/current.xml b/api/current.xml index e757db2..9d259f3 100644 --- a/api/current.xml +++ b/api/current.xml @@ -80490,19 +80490,6 @@ <parameter name="volume" type="float"> </parameter> </method> -<method name="registerAudioFocusListener" - return="void" - abstract="false" - native="false" - synchronized="false" - static="false" - final="false" - deprecated="not deprecated" - visibility="public" -> -<parameter name="l" type="android.media.AudioManager.OnAudioFocusChangeListener"> -</parameter> -</method> <method name="registerMediaButtonEventReceiver" return="void" abstract="false" @@ -80762,19 +80749,6 @@ visibility="public" > </method> -<method name="unregisterAudioFocusListener" - return="void" - abstract="false" - native="false" - synchronized="false" - static="false" - final="false" - deprecated="not deprecated" - visibility="public" -> -<parameter name="l" type="android.media.AudioManager.OnAudioFocusChangeListener"> -</parameter> -</method> <method name="unregisterMediaButtonEventReceiver" return="void" abstract="false" diff --git a/media/java/android/media/AudioManager.java b/media/java/android/media/AudioManager.java index 5813a42..bbbba74 100644 --- a/media/java/android/media/AudioManager.java +++ b/media/java/android/media/AudioManager.java @@ -1382,6 +1382,7 @@ public class AudioManager { } /** + * @hide * Registers a listener to be called when audio focus changes. Calling this method is optional * before calling {@link #requestAudioFocus(OnAudioFocusChangeListener, int, int)}, as it * will register the listener as well if it wasn't registered already. @@ -1397,6 +1398,7 @@ public class AudioManager { } /** + * @hide * Causes the specified listener to not be called anymore when focus is gained or lost. * @param l the listener to unregister. */ |