diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-05-07 18:09:51 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-07 18:09:51 -0700 |
commit | 3b413dbd11a3de62d19e31409a02d44ec1b4adf4 (patch) | |
tree | e6d4da1b482cb9779bf98040e90566dff05a767c | |
parent | 159b38826014ffff06069894f49b57318d4cb398 (diff) | |
parent | 7d32a1e0457999bade05a967463c51600db6ebc6 (diff) |
Merge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev
am: 7d32a1e045
Change-Id: Iddf332ab3169b4c1070bbe1dac3bc8c91e8d6ca5
-rw-r--r-- | media/java/android/media/AudioFocusRequest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/java/android/media/AudioFocusRequest.java b/media/java/android/media/AudioFocusRequest.java index fe89b89dcfec..b9731d111aa3 100644 --- a/media/java/android/media/AudioFocusRequest.java +++ b/media/java/android/media/AudioFocusRequest.java @@ -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. |