Merge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev
am: 7d32a1e045
Change-Id: Iddf332ab3169b4c1070bbe1dac3bc8c91e8d6ca5
This commit is contained in:
@@ -414,7 +414,9 @@ public final class AudioFocusRequest {
|
||||
* with {@link AudioManager#abandonAudioFocusRequest(AudioFocusRequest)}.
|
||||
* Note that only focus changes (gains and losses) affecting the focus owner are reported,
|
||||
* not gains and losses of other focus requesters in the system.<br>
|
||||
* Notifications are delivered on the main {@link Looper}.
|
||||
* Notifications are delivered on the {@link Looper} associated with the one of
|
||||
* the creation of the {@link AudioManager} used to request focus
|
||||
* (see {@link AudioManager#requestAudioFocus(AudioFocusRequest)}).
|
||||
* @param listener the listener receiving the focus change notifications.
|
||||
* @return this {@code Builder} instance.
|
||||
* @throws NullPointerException thrown when a null focus listener is used.
|
||||
|
||||
Reference in New Issue
Block a user